Changeset 227701 in webkit
- Timestamp:
- Jan 26, 2018, 4:43:27 PM (7 years ago)
- Location:
- trunk/Source
- Files:
-
- 1 added
- 68 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r227691 r227701 1 2018-01-26 Mark Lam <mark.lam@apple.com> 2 3 Add infrastructure for pointer preparation. 4 https://bugs.webkit.org/show_bug.cgi?id=182191 5 <rdar://problem/36889194> 6 7 Reviewed by JF Bastien. 8 9 * WTF.xcodeproj/project.pbxproj: 10 * wtf/CMakeLists.txt: 11 * wtf/PointerPreparations.h: Added. 12 1 13 2018-01-26 Chris Nardi <cnardi@chromium.org> 2 14 -
trunk/Source/WTF/WTF.xcodeproj/project.pbxproj
r226920 r227701 628 628 FE86A8741E59440200111BBF /* ForbidHeapAllocation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ForbidHeapAllocation.h; sourceTree = "<group>"; }; 629 629 FE8925AF1D00DAEC0046907E /* Indenter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Indenter.h; sourceTree = "<group>"; }; 630 FEB6B035201BE0B600B958C1 /* PointerPreparations.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PointerPreparations.h; sourceTree = "<group>"; }; 630 631 FEDACD3B1630F83F00C69634 /* StackStats.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = StackStats.cpp; sourceTree = "<group>"; }; 631 632 FEDACD3C1630F83F00C69634 /* StackStats.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = StackStats.h; sourceTree = "<group>"; }; … … 987 988 E3200AB41E9A536D003B59D2 /* PlatformRegisters.h */, 988 989 0FF860941BCCBD740045127F /* PointerComparison.h */, 990 FEB6B035201BE0B600B958C1 /* PointerPreparations.h */, 989 991 FE85416C1FBE285B008DA5DA /* Poisoned.cpp */, 990 992 FE85416D1FBE285C008DA5DA /* Poisoned.h */, -
trunk/Source/WTF/wtf/CMakeLists.txt
r226344 r227701 111 111 Platform.h 112 112 PlatformRegisters.h 113 PointerPreparations.h 113 114 Poisoned.h 114 115 PoisonedUniquePtr.h -
trunk/Source/WebCore/ChangeLog
r227697 r227701 1 2018-01-26 Mark Lam <mark.lam@apple.com> 2 3 Add infrastructure for pointer preparation. 4 https://bugs.webkit.org/show_bug.cgi?id=182191 5 <rdar://problem/36889194> 6 7 Reviewed by JF Bastien. 8 9 No new tests because this patch does not introduce any behavior change. 10 11 * bindings/scripts/CodeGeneratorJS.pm: 12 (GenerateImplementation): 13 * bindings/scripts/test/JS/JSInterfaceName.cpp: 14 (WebCore::toJSNewlyCreated): 15 * bindings/scripts/test/JS/JSMapLike.cpp: 16 (WebCore::toJSNewlyCreated): 17 * bindings/scripts/test/JS/JSReadOnlyMapLike.cpp: 18 (WebCore::toJSNewlyCreated): 19 * bindings/scripts/test/JS/JSTestActiveDOMObject.cpp: 20 (WebCore::toJSNewlyCreated): 21 * bindings/scripts/test/JS/JSTestCEReactions.cpp: 22 (WebCore::toJSNewlyCreated): 23 * bindings/scripts/test/JS/JSTestCEReactionsStringifier.cpp: 24 (WebCore::toJSNewlyCreated): 25 * bindings/scripts/test/JS/JSTestCallTracer.cpp: 26 (WebCore::toJSNewlyCreated): 27 * bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.cpp: 28 (WebCore::toJSNewlyCreated): 29 * bindings/scripts/test/JS/JSTestCustomConstructorWithNoInterfaceObject.cpp: 30 (WebCore::toJSNewlyCreated): 31 * bindings/scripts/test/JS/JSTestDOMJIT.cpp: 32 * bindings/scripts/test/JS/JSTestEnabledBySetting.cpp: 33 (WebCore::toJSNewlyCreated): 34 * bindings/scripts/test/JS/JSTestEventConstructor.cpp: 35 (WebCore::toJSNewlyCreated): 36 * bindings/scripts/test/JS/JSTestEventTarget.cpp: 37 (WebCore::toJSNewlyCreated): 38 * bindings/scripts/test/JS/JSTestException.cpp: 39 (WebCore::toJSNewlyCreated): 40 * bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp: 41 (WebCore::toJSNewlyCreated): 42 * bindings/scripts/test/JS/JSTestGlobalObject.cpp: 43 (WebCore::toJSNewlyCreated): 44 * bindings/scripts/test/JS/JSTestIndexedSetterNoIdentifier.cpp: 45 (WebCore::toJSNewlyCreated): 46 * bindings/scripts/test/JS/JSTestIndexedSetterThrowingException.cpp: 47 (WebCore::toJSNewlyCreated): 48 * bindings/scripts/test/JS/JSTestIndexedSetterWithIdentifier.cpp: 49 (WebCore::toJSNewlyCreated): 50 * bindings/scripts/test/JS/JSTestInterface.cpp: 51 * bindings/scripts/test/JS/JSTestInterfaceLeadingUnderscore.cpp: 52 * bindings/scripts/test/JS/JSTestIterable.cpp: 53 (WebCore::toJSNewlyCreated): 54 * bindings/scripts/test/JS/JSTestJSBuiltinConstructor.cpp: 55 * bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp: 56 (WebCore::toJSNewlyCreated): 57 * bindings/scripts/test/JS/JSTestNamedAndIndexedSetterNoIdentifier.cpp: 58 (WebCore::toJSNewlyCreated): 59 * bindings/scripts/test/JS/JSTestNamedAndIndexedSetterThrowingException.cpp: 60 (WebCore::toJSNewlyCreated): 61 * bindings/scripts/test/JS/JSTestNamedAndIndexedSetterWithIdentifier.cpp: 62 (WebCore::toJSNewlyCreated): 63 * bindings/scripts/test/JS/JSTestNamedConstructor.cpp: 64 (WebCore::toJSNewlyCreated): 65 * bindings/scripts/test/JS/JSTestNamedDeleterNoIdentifier.cpp: 66 (WebCore::toJSNewlyCreated): 67 * bindings/scripts/test/JS/JSTestNamedDeleterThrowingException.cpp: 68 (WebCore::toJSNewlyCreated): 69 * bindings/scripts/test/JS/JSTestNamedDeleterWithIdentifier.cpp: 70 (WebCore::toJSNewlyCreated): 71 * bindings/scripts/test/JS/JSTestNamedDeleterWithIndexedGetter.cpp: 72 (WebCore::toJSNewlyCreated): 73 * bindings/scripts/test/JS/JSTestNamedGetterCallWith.cpp: 74 (WebCore::toJSNewlyCreated): 75 * bindings/scripts/test/JS/JSTestNamedGetterNoIdentifier.cpp: 76 (WebCore::toJSNewlyCreated): 77 * bindings/scripts/test/JS/JSTestNamedGetterWithIdentifier.cpp: 78 (WebCore::toJSNewlyCreated): 79 * bindings/scripts/test/JS/JSTestNamedSetterNoIdentifier.cpp: 80 (WebCore::toJSNewlyCreated): 81 * bindings/scripts/test/JS/JSTestNamedSetterThrowingException.cpp: 82 (WebCore::toJSNewlyCreated): 83 * bindings/scripts/test/JS/JSTestNamedSetterWithIdentifier.cpp: 84 (WebCore::toJSNewlyCreated): 85 * bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetter.cpp: 86 (WebCore::toJSNewlyCreated): 87 * bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetterAndSetter.cpp: 88 (WebCore::toJSNewlyCreated): 89 * bindings/scripts/test/JS/JSTestNamedSetterWithOverrideBuiltins.cpp: 90 (WebCore::toJSNewlyCreated): 91 * bindings/scripts/test/JS/JSTestNamedSetterWithUnforgableProperties.cpp: 92 (WebCore::toJSNewlyCreated): 93 * bindings/scripts/test/JS/JSTestNamedSetterWithUnforgablePropertiesAndOverrideBuiltins.cpp: 94 (WebCore::toJSNewlyCreated): 95 * bindings/scripts/test/JS/JSTestNode.cpp: 96 (WebCore::toJSNewlyCreated): 97 * bindings/scripts/test/JS/JSTestObj.cpp: 98 (WebCore::toJSNewlyCreated): 99 * bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp: 100 (WebCore::toJSNewlyCreated): 101 * bindings/scripts/test/JS/JSTestOverloadedConstructorsWithSequence.cpp: 102 (WebCore::toJSNewlyCreated): 103 * bindings/scripts/test/JS/JSTestOverrideBuiltins.cpp: 104 (WebCore::toJSNewlyCreated): 105 * bindings/scripts/test/JS/JSTestPluginInterface.cpp: 106 (WebCore::toJSNewlyCreated): 107 * bindings/scripts/test/JS/JSTestPromiseRejectionEvent.cpp: 108 (WebCore::toJSNewlyCreated): 109 * bindings/scripts/test/JS/JSTestSerialization.cpp: 110 (WebCore::toJSNewlyCreated): 111 * bindings/scripts/test/JS/JSTestSerializationIndirectInheritance.cpp: 112 * bindings/scripts/test/JS/JSTestSerializationInherit.cpp: 113 * bindings/scripts/test/JS/JSTestSerializationInheritFinal.cpp: 114 * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp: 115 (WebCore::toJSNewlyCreated): 116 * bindings/scripts/test/JS/JSTestStringifier.cpp: 117 (WebCore::toJSNewlyCreated): 118 * bindings/scripts/test/JS/JSTestStringifierAnonymousOperation.cpp: 119 (WebCore::toJSNewlyCreated): 120 * bindings/scripts/test/JS/JSTestStringifierNamedOperation.cpp: 121 (WebCore::toJSNewlyCreated): 122 * bindings/scripts/test/JS/JSTestStringifierOperationImplementedAs.cpp: 123 (WebCore::toJSNewlyCreated): 124 * bindings/scripts/test/JS/JSTestStringifierOperationNamedToString.cpp: 125 (WebCore::toJSNewlyCreated): 126 * bindings/scripts/test/JS/JSTestStringifierReadOnlyAttribute.cpp: 127 (WebCore::toJSNewlyCreated): 128 * bindings/scripts/test/JS/JSTestStringifierReadWriteAttribute.cpp: 129 (WebCore::toJSNewlyCreated): 130 * bindings/scripts/test/JS/JSTestTypedefs.cpp: 131 (WebCore::toJSNewlyCreated): 132 1 133 2018-01-26 Simon Fraser <simon.fraser@apple.com> 2 134 -
trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm
r226088 r227701 4 4 # Copyright (C) 2006, 2007 Samuel Weinig <sam@webkit.org> 5 5 # Copyright (C) 2006 Alexey Proskuryakov <ap@webkit.org> 6 # Copyright (C) 2006-201 7Apple Inc. All rights reserved.6 # Copyright (C) 2006-2018 Apple Inc. All rights reserved. 7 7 # Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au> 8 8 # Copyright (C) Research In Motion Limited 2010. All rights reserved. … … 3804 3804 AddToImplIncludes("JSDOMWrapperCache.h"); 3805 3805 AddToImplIncludes("<wtf/GetPtr.h>"); 3806 AddToImplIncludes("<wtf/PointerPreparations.h>"); 3806 3807 AddToImplIncludes("<runtime/PropertyNameArray.h>") if $indexedGetterOperation; 3807 3808 AddToImplIncludes("JSDOMMapLike.h") if $interface->mapLike; … … 4626 4627 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 4627 4628 #if PLATFORM(WIN) 4628 void* expectedVTablePointer = reinterpret_cast<void*>(${vtableRefWin});4629 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(${vtableRefWin}); 4629 4630 #else 4630 void* expectedVTablePointer = ${vtableRefGnu};4631 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(${vtableRefGnu}); 4631 4632 #endif 4632 4633 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSInterfaceName.cpp
r223476 r227701 29 29 #include <runtime/JSCInlines.h> 30 30 #include <wtf/GetPtr.h> 31 #include <wtf/PointerPreparations.h> 31 32 32 33 … … 197 198 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 198 199 #if PLATFORM(WIN) 199 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7InterfaceName@WebCore@@6B@"));200 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7InterfaceName@WebCore@@6B@")); 200 201 #else 201 void* expectedVTablePointer = &_ZTVN7WebCore13InterfaceNameE[2];202 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore13InterfaceNameE[2]); 202 203 #endif 203 204 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSMapLike.cpp
r223476 r227701 35 35 #include <runtime/JSCInlines.h> 36 36 #include <wtf/GetPtr.h> 37 #include <wtf/PointerPreparations.h> 37 38 38 39 … … 366 367 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 367 368 #if PLATFORM(WIN) 368 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7MapLike@WebCore@@6B@"));369 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7MapLike@WebCore@@6B@")); 369 370 #else 370 void* expectedVTablePointer = &_ZTVN7WebCore7MapLikeE[2];371 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore7MapLikeE[2]); 371 372 #endif 372 373 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSReadOnlyMapLike.cpp
r223476 r227701 35 35 #include <runtime/JSCInlines.h> 36 36 #include <wtf/GetPtr.h> 37 #include <wtf/PointerPreparations.h> 37 38 38 39 … … 315 316 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 316 317 #if PLATFORM(WIN) 317 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7ReadOnlyMapLike@WebCore@@6B@"));318 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7ReadOnlyMapLike@WebCore@@6B@")); 318 319 #else 319 void* expectedVTablePointer = &_ZTVN7WebCore15ReadOnlyMapLikeE[2];320 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore15ReadOnlyMapLikeE[2]); 320 321 #endif 321 322 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp
r223476 r227701 36 36 #include <runtime/JSCInlines.h> 37 37 #include <wtf/GetPtr.h> 38 #include <wtf/PointerPreparations.h> 38 39 39 40 … … 276 277 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 277 278 #if PLATFORM(WIN) 278 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7TestActiveDOMObject@WebCore@@6B@"));279 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestActiveDOMObject@WebCore@@6B@")); 279 280 #else 280 void* expectedVTablePointer = &_ZTVN7WebCore19TestActiveDOMObjectE[2];281 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore19TestActiveDOMObjectE[2]); 281 282 #endif 282 283 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCEReactions.cpp
r223476 r227701 37 37 #include <runtime/JSCInlines.h> 38 38 #include <wtf/GetPtr.h> 39 #include <wtf/PointerPreparations.h> 39 40 40 41 … … 330 331 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 331 332 #if PLATFORM(WIN) 332 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7TestCEReactions@WebCore@@6B@"));333 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestCEReactions@WebCore@@6B@")); 333 334 #else 334 void* expectedVTablePointer = &_ZTVN7WebCore15TestCEReactionsE[2];335 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore15TestCEReactionsE[2]); 335 336 #endif 336 337 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCEReactionsStringifier.cpp
r223476 r227701 33 33 #include <runtime/JSCInlines.h> 34 34 #include <wtf/GetPtr.h> 35 #include <wtf/PointerPreparations.h> 35 36 36 37 … … 250 251 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 251 252 #if PLATFORM(WIN) 252 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7TestCEReactionsStringifier@WebCore@@6B@"));253 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestCEReactionsStringifier@WebCore@@6B@")); 253 254 #else 254 void* expectedVTablePointer = &_ZTVN7WebCore26TestCEReactionsStringifierE[2];255 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore26TestCEReactionsStringifierE[2]); 255 256 #endif 256 257 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCallTracer.cpp
r223476 r227701 40 40 #include <runtime/JSCInlines.h> 41 41 #include <wtf/GetPtr.h> 42 #include <wtf/PointerPreparations.h> 42 43 #include <wtf/Variant.h> 43 44 … … 549 550 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 550 551 #if PLATFORM(WIN) 551 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7TestCallTracer@WebCore@@6B@"));552 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestCallTracer@WebCore@@6B@")); 552 553 #else 553 void* expectedVTablePointer = &_ZTVN7WebCore14TestCallTracerE[2];554 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore14TestCallTracerE[2]); 554 555 #endif 555 556 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.cpp
r223476 r227701 30 30 #include <runtime/JSCInlines.h> 31 31 #include <wtf/GetPtr.h> 32 #include <wtf/PointerPreparations.h> 32 33 33 34 … … 189 190 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 190 191 #if PLATFORM(WIN) 191 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7TestClassWithJSBuiltinConstructor@WebCore@@6B@"));192 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestClassWithJSBuiltinConstructor@WebCore@@6B@")); 192 193 #else 193 void* expectedVTablePointer = &_ZTVN7WebCore33TestClassWithJSBuiltinConstructorE[2];194 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore33TestClassWithJSBuiltinConstructorE[2]); 194 195 #endif 195 196 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomConstructorWithNoInterfaceObject.cpp
r223476 r227701 29 29 #include <runtime/JSCInlines.h> 30 30 #include <wtf/GetPtr.h> 31 #include <wtf/PointerPreparations.h> 31 32 32 33 … … 187 188 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 188 189 #if PLATFORM(WIN) 189 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7TestCustomConstructorWithNoInterfaceObject@WebCore@@6B@"));190 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestCustomConstructorWithNoInterfaceObject@WebCore@@6B@")); 190 191 #else 191 void* expectedVTablePointer = &_ZTVN7WebCore42TestCustomConstructorWithNoInterfaceObjectE[2];192 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore42TestCustomConstructorWithNoInterfaceObjectE[2]); 192 193 #endif 193 194 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestDOMJIT.cpp
r223476 r227701 44 44 #include <runtime/JSCInlines.h> 45 45 #include <wtf/GetPtr.h> 46 #include <wtf/PointerPreparations.h> 46 47 47 48 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEnabledBySetting.cpp
r223476 r227701 35 35 #include <runtime/JSCInlines.h> 36 36 #include <wtf/GetPtr.h> 37 #include <wtf/PointerPreparations.h> 37 38 38 39 #if ENABLE(TEST_FEATURE) … … 323 324 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 324 325 #if PLATFORM(WIN) 325 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7TestEnabledBySetting@WebCore@@6B@"));326 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestEnabledBySetting@WebCore@@6B@")); 326 327 #else 327 void* expectedVTablePointer = &_ZTVN7WebCore20TestEnabledBySettingE[2];328 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore20TestEnabledBySettingE[2]); 328 329 #endif 329 330 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp
r223476 r227701 32 32 #include <runtime/JSCInlines.h> 33 33 #include <wtf/GetPtr.h> 34 #include <wtf/PointerPreparations.h> 34 35 35 36 … … 288 289 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 289 290 #if PLATFORM(WIN) 290 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7TestEventConstructor@WebCore@@6B@"));291 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestEventConstructor@WebCore@@6B@")); 291 292 #else 292 void* expectedVTablePointer = &_ZTVN7WebCore20TestEventConstructorE[2];293 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore20TestEventConstructorE[2]); 293 294 #endif 294 295 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp
r223476 r227701 35 35 #include <runtime/PropertyNameArray.h> 36 36 #include <wtf/GetPtr.h> 37 #include <wtf/PointerPreparations.h> 37 38 38 39 … … 261 262 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 262 263 #if PLATFORM(WIN) 263 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7TestEventTarget@WebCore@@6B@"));264 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestEventTarget@WebCore@@6B@")); 264 265 #else 265 void* expectedVTablePointer = &_ZTVN7WebCore15TestEventTargetE[2];266 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore15TestEventTargetE[2]); 266 267 #endif 267 268 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp
r223476 r227701 31 31 #include <runtime/JSCInlines.h> 32 32 #include <wtf/GetPtr.h> 33 #include <wtf/PointerPreparations.h> 33 34 34 35 … … 206 207 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 207 208 #if PLATFORM(WIN) 208 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7TestException@WebCore@@6B@"));209 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestException@WebCore@@6B@")); 209 210 #else 210 void* expectedVTablePointer = &_ZTVN7WebCore13TestExceptionE[2];211 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore13TestExceptionE[2]); 211 212 #endif 212 213 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp
r223476 r227701 32 32 #include <runtime/JSCInlines.h> 33 33 #include <wtf/GetPtr.h> 34 #include <wtf/PointerPreparations.h> 34 35 35 36 … … 212 213 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 213 214 #if PLATFORM(WIN) 214 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7TestGenerateIsReachable@WebCore@@6B@"));215 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestGenerateIsReachable@WebCore@@6B@")); 215 216 #else 216 void* expectedVTablePointer = &_ZTVN7WebCore23TestGenerateIsReachableE[2];217 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore23TestGenerateIsReachableE[2]); 217 218 #endif 218 219 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGlobalObject.cpp
r223746 r227701 39 39 #include <runtime/JSCInlines.h> 40 40 #include <wtf/GetPtr.h> 41 #include <wtf/PointerPreparations.h> 41 42 42 43 #if ENABLE(TEST_FEATURE) … … 597 598 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 598 599 #if PLATFORM(WIN) 599 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7TestGlobalObject@WebCore@@6B@"));600 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestGlobalObject@WebCore@@6B@")); 600 601 #else 601 void* expectedVTablePointer = &_ZTVN7WebCore16TestGlobalObjectE[2];602 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore16TestGlobalObjectE[2]); 602 603 #endif 603 604 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterNoIdentifier.cpp
r223476 r227701 32 32 #include <runtime/PropertyNameArray.h> 33 33 #include <wtf/GetPtr.h> 34 #include <wtf/PointerPreparations.h> 34 35 35 36 … … 275 276 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 276 277 #if PLATFORM(WIN) 277 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7TestIndexedSetterNoIdentifier@WebCore@@6B@"));278 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestIndexedSetterNoIdentifier@WebCore@@6B@")); 278 279 #else 279 void* expectedVTablePointer = &_ZTVN7WebCore29TestIndexedSetterNoIdentifierE[2];280 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore29TestIndexedSetterNoIdentifierE[2]); 280 281 #endif 281 282 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterThrowingException.cpp
r223476 r227701 32 32 #include <runtime/PropertyNameArray.h> 33 33 #include <wtf/GetPtr.h> 34 #include <wtf/PointerPreparations.h> 34 35 35 36 … … 275 276 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 276 277 #if PLATFORM(WIN) 277 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7TestIndexedSetterThrowingException@WebCore@@6B@"));278 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestIndexedSetterThrowingException@WebCore@@6B@")); 278 279 #else 279 void* expectedVTablePointer = &_ZTVN7WebCore34TestIndexedSetterThrowingExceptionE[2];280 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore34TestIndexedSetterThrowingExceptionE[2]); 280 281 #endif 281 282 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterWithIdentifier.cpp
r223476 r227701 34 34 #include <runtime/PropertyNameArray.h> 35 35 #include <wtf/GetPtr.h> 36 #include <wtf/PointerPreparations.h> 36 37 37 38 … … 307 308 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 308 309 #if PLATFORM(WIN) 309 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7TestIndexedSetterWithIdentifier@WebCore@@6B@"));310 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestIndexedSetterWithIdentifier@WebCore@@6B@")); 310 311 #else 311 void* expectedVTablePointer = &_ZTVN7WebCore31TestIndexedSetterWithIdentifierE[2];312 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore31TestIndexedSetterWithIdentifierE[2]); 312 313 #endif 313 314 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp
r223476 r227701 37 37 #include <runtime/JSCInlines.h> 38 38 #include <wtf/GetPtr.h> 39 #include <wtf/PointerPreparations.h> 39 40 40 41 #if ENABLE(Condition1) || ENABLE(Condition11) || ENABLE(Condition12) || ENABLE(Condition2) || ENABLE(Condition22) || ENABLE(Condition23) -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterfaceLeadingUnderscore.cpp
r223476 r227701 31 31 #include <runtime/JSCInlines.h> 32 32 #include <wtf/GetPtr.h> 33 #include <wtf/PointerPreparations.h> 33 34 34 35 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestIterable.cpp
r223476 r227701 32 32 #include <runtime/JSCInlines.h> 33 33 #include <wtf/GetPtr.h> 34 #include <wtf/PointerPreparations.h> 34 35 35 36 … … 259 260 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 260 261 #if PLATFORM(WIN) 261 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7TestIterable@WebCore@@6B@"));262 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestIterable@WebCore@@6B@")); 262 263 #else 263 void* expectedVTablePointer = &_ZTVN7WebCore12TestIterableE[2];264 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore12TestIterableE[2]); 264 265 #endif 265 266 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestJSBuiltinConstructor.cpp
r223476 r227701 32 32 #include <runtime/JSCInlines.h> 33 33 #include <wtf/GetPtr.h> 34 #include <wtf/PointerPreparations.h> 34 35 35 36 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp
r223476 r227701 33 33 #include <runtime/JSCInlines.h> 34 34 #include <wtf/GetPtr.h> 35 #include <wtf/PointerPreparations.h> 35 36 36 37 … … 215 216 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 216 217 #if PLATFORM(WIN) 217 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7TestMediaQueryListListener@WebCore@@6B@"));218 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestMediaQueryListListener@WebCore@@6B@")); 218 219 #else 219 void* expectedVTablePointer = &_ZTVN7WebCore26TestMediaQueryListListenerE[2];220 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore26TestMediaQueryListListenerE[2]); 220 221 #endif 221 222 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterNoIdentifier.cpp
r223746 r227701 33 33 #include <runtime/PropertyNameArray.h> 34 34 #include <wtf/GetPtr.h> 35 #include <wtf/PointerPreparations.h> 35 36 36 37 … … 341 342 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 342 343 #if PLATFORM(WIN) 343 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7TestNamedAndIndexedSetterNoIdentifier@WebCore@@6B@"));344 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestNamedAndIndexedSetterNoIdentifier@WebCore@@6B@")); 344 345 #else 345 void* expectedVTablePointer = &_ZTVN7WebCore37TestNamedAndIndexedSetterNoIdentifierE[2];346 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore37TestNamedAndIndexedSetterNoIdentifierE[2]); 346 347 #endif 347 348 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterThrowingException.cpp
r223746 r227701 33 33 #include <runtime/PropertyNameArray.h> 34 34 #include <wtf/GetPtr.h> 35 #include <wtf/PointerPreparations.h> 35 36 36 37 … … 341 342 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 342 343 #if PLATFORM(WIN) 343 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7TestNamedAndIndexedSetterThrowingException@WebCore@@6B@"));344 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestNamedAndIndexedSetterThrowingException@WebCore@@6B@")); 344 345 #else 345 void* expectedVTablePointer = &_ZTVN7WebCore42TestNamedAndIndexedSetterThrowingExceptionE[2];346 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore42TestNamedAndIndexedSetterThrowingExceptionE[2]); 346 347 #endif 347 348 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterWithIdentifier.cpp
r223746 r227701 35 35 #include <runtime/PropertyNameArray.h> 36 36 #include <wtf/GetPtr.h> 37 #include <wtf/PointerPreparations.h> 37 38 38 39 … … 395 396 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 396 397 #if PLATFORM(WIN) 397 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7TestNamedAndIndexedSetterWithIdentifier@WebCore@@6B@"));398 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestNamedAndIndexedSetterWithIdentifier@WebCore@@6B@")); 398 399 #else 399 void* expectedVTablePointer = &_ZTVN7WebCore39TestNamedAndIndexedSetterWithIdentifierE[2];400 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore39TestNamedAndIndexedSetterWithIdentifierE[2]); 400 401 #endif 401 402 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp
r223476 r227701 32 32 #include <runtime/JSCInlines.h> 33 33 #include <wtf/GetPtr.h> 34 #include <wtf/PointerPreparations.h> 34 35 35 36 … … 228 229 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 229 230 #if PLATFORM(WIN) 230 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7TestNamedConstructor@WebCore@@6B@"));231 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestNamedConstructor@WebCore@@6B@")); 231 232 #else 232 void* expectedVTablePointer = &_ZTVN7WebCore20TestNamedConstructorE[2];233 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore20TestNamedConstructorE[2]); 233 234 #endif 234 235 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterNoIdentifier.cpp
r223476 r227701 31 31 #include <runtime/JSCInlines.h> 32 32 #include <wtf/GetPtr.h> 33 #include <wtf/PointerPreparations.h> 33 34 34 35 … … 254 255 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 255 256 #if PLATFORM(WIN) 256 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7TestNamedDeleterNoIdentifier@WebCore@@6B@"));257 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestNamedDeleterNoIdentifier@WebCore@@6B@")); 257 258 #else 258 void* expectedVTablePointer = &_ZTVN7WebCore28TestNamedDeleterNoIdentifierE[2];259 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore28TestNamedDeleterNoIdentifierE[2]); 259 260 #endif 260 261 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterThrowingException.cpp
r223476 r227701 31 31 #include <runtime/JSCInlines.h> 32 32 #include <wtf/GetPtr.h> 33 #include <wtf/PointerPreparations.h> 33 34 34 35 … … 268 269 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 269 270 #if PLATFORM(WIN) 270 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7TestNamedDeleterThrowingException@WebCore@@6B@"));271 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestNamedDeleterThrowingException@WebCore@@6B@")); 271 272 #else 272 void* expectedVTablePointer = &_ZTVN7WebCore33TestNamedDeleterThrowingExceptionE[2];273 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore33TestNamedDeleterThrowingExceptionE[2]); 273 274 #endif 274 275 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterWithIdentifier.cpp
r223476 r227701 32 32 #include <runtime/JSCInlines.h> 33 33 #include <wtf/GetPtr.h> 34 #include <wtf/PointerPreparations.h> 34 35 35 36 … … 285 286 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 286 287 #if PLATFORM(WIN) 287 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7TestNamedDeleterWithIdentifier@WebCore@@6B@"));288 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestNamedDeleterWithIdentifier@WebCore@@6B@")); 288 289 #else 289 void* expectedVTablePointer = &_ZTVN7WebCore30TestNamedDeleterWithIdentifierE[2];290 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore30TestNamedDeleterWithIdentifierE[2]); 290 291 #endif 291 292 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterWithIndexedGetter.cpp
r223476 r227701 33 33 #include <runtime/PropertyNameArray.h> 34 34 #include <wtf/GetPtr.h> 35 #include <wtf/PointerPreparations.h> 35 36 36 37 … … 272 273 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 273 274 #if PLATFORM(WIN) 274 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7TestNamedDeleterWithIndexedGetter@WebCore@@6B@"));275 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestNamedDeleterWithIndexedGetter@WebCore@@6B@")); 275 276 #else 276 void* expectedVTablePointer = &_ZTVN7WebCore33TestNamedDeleterWithIndexedGetterE[2];277 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore33TestNamedDeleterWithIndexedGetterE[2]); 277 278 #endif 278 279 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterCallWith.cpp
r223476 r227701 31 31 #include <runtime/JSCInlines.h> 32 32 #include <wtf/GetPtr.h> 33 #include <wtf/PointerPreparations.h> 33 34 34 35 … … 233 234 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 234 235 #if PLATFORM(WIN) 235 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7TestNamedGetterCallWith@WebCore@@6B@"));236 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestNamedGetterCallWith@WebCore@@6B@")); 236 237 #else 237 void* expectedVTablePointer = &_ZTVN7WebCore23TestNamedGetterCallWithE[2];238 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore23TestNamedGetterCallWithE[2]); 238 239 #endif 239 240 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterNoIdentifier.cpp
r223476 r227701 31 31 #include <runtime/JSCInlines.h> 32 32 #include <wtf/GetPtr.h> 33 #include <wtf/PointerPreparations.h> 33 34 34 35 … … 233 234 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 234 235 #if PLATFORM(WIN) 235 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7TestNamedGetterNoIdentifier@WebCore@@6B@"));236 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestNamedGetterNoIdentifier@WebCore@@6B@")); 236 237 #else 237 void* expectedVTablePointer = &_ZTVN7WebCore27TestNamedGetterNoIdentifierE[2];238 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore27TestNamedGetterNoIdentifierE[2]); 238 239 #endif 239 240 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterWithIdentifier.cpp
r223476 r227701 32 32 #include <runtime/JSCInlines.h> 33 33 #include <wtf/GetPtr.h> 34 #include <wtf/PointerPreparations.h> 34 35 35 36 … … 261 262 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 262 263 #if PLATFORM(WIN) 263 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7TestNamedGetterWithIdentifier@WebCore@@6B@"));264 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestNamedGetterWithIdentifier@WebCore@@6B@")); 264 265 #else 265 void* expectedVTablePointer = &_ZTVN7WebCore29TestNamedGetterWithIdentifierE[2];266 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore29TestNamedGetterWithIdentifierE[2]); 266 267 #endif 267 268 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterNoIdentifier.cpp
r223746 r227701 31 31 #include <runtime/JSCInlines.h> 32 32 #include <wtf/GetPtr.h> 33 #include <wtf/PointerPreparations.h> 33 34 34 35 … … 295 296 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 296 297 #if PLATFORM(WIN) 297 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7TestNamedSetterNoIdentifier@WebCore@@6B@"));298 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestNamedSetterNoIdentifier@WebCore@@6B@")); 298 299 #else 299 void* expectedVTablePointer = &_ZTVN7WebCore27TestNamedSetterNoIdentifierE[2];300 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore27TestNamedSetterNoIdentifierE[2]); 300 301 #endif 301 302 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterThrowingException.cpp
r223746 r227701 31 31 #include <runtime/JSCInlines.h> 32 32 #include <wtf/GetPtr.h> 33 #include <wtf/PointerPreparations.h> 33 34 34 35 … … 295 296 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 296 297 #if PLATFORM(WIN) 297 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7TestNamedSetterThrowingException@WebCore@@6B@"));298 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestNamedSetterThrowingException@WebCore@@6B@")); 298 299 #else 299 void* expectedVTablePointer = &_ZTVN7WebCore32TestNamedSetterThrowingExceptionE[2];300 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore32TestNamedSetterThrowingExceptionE[2]); 300 301 #endif 301 302 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIdentifier.cpp
r223746 r227701 32 32 #include <runtime/JSCInlines.h> 33 33 #include <wtf/GetPtr.h> 34 #include <wtf/PointerPreparations.h> 34 35 35 36 … … 326 327 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 327 328 #if PLATFORM(WIN) 328 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7TestNamedSetterWithIdentifier@WebCore@@6B@"));329 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestNamedSetterWithIdentifier@WebCore@@6B@")); 329 330 #else 330 void* expectedVTablePointer = &_ZTVN7WebCore29TestNamedSetterWithIdentifierE[2];331 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore29TestNamedSetterWithIdentifierE[2]); 331 332 #endif 332 333 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetter.cpp
r223746 r227701 35 35 #include <runtime/PropertyNameArray.h> 36 36 #include <wtf/GetPtr.h> 37 #include <wtf/PointerPreparations.h> 37 38 38 39 … … 369 370 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 370 371 #if PLATFORM(WIN) 371 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7TestNamedSetterWithIndexedGetter@WebCore@@6B@"));372 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestNamedSetterWithIndexedGetter@WebCore@@6B@")); 372 373 #else 373 void* expectedVTablePointer = &_ZTVN7WebCore32TestNamedSetterWithIndexedGetterE[2];374 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore32TestNamedSetterWithIndexedGetterE[2]); 374 375 #endif 375 376 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetterAndSetter.cpp
r223746 r227701 35 35 #include <runtime/PropertyNameArray.h> 36 36 #include <wtf/GetPtr.h> 37 #include <wtf/PointerPreparations.h> 37 38 38 39 … … 419 420 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 420 421 #if PLATFORM(WIN) 421 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7TestNamedSetterWithIndexedGetterAndSetter@WebCore@@6B@"));422 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestNamedSetterWithIndexedGetterAndSetter@WebCore@@6B@")); 422 423 #else 423 void* expectedVTablePointer = &_ZTVN7WebCore41TestNamedSetterWithIndexedGetterAndSetterE[2];424 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore41TestNamedSetterWithIndexedGetterAndSetterE[2]); 424 425 #endif 425 426 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithOverrideBuiltins.cpp
r223476 r227701 31 31 #include <runtime/JSCInlines.h> 32 32 #include <wtf/GetPtr.h> 33 #include <wtf/PointerPreparations.h> 33 34 34 35 … … 282 283 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 283 284 #if PLATFORM(WIN) 284 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7TestNamedSetterWithOverrideBuiltins@WebCore@@6B@"));285 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestNamedSetterWithOverrideBuiltins@WebCore@@6B@")); 285 286 #else 286 void* expectedVTablePointer = &_ZTVN7WebCore35TestNamedSetterWithOverrideBuiltinsE[2];287 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore35TestNamedSetterWithOverrideBuiltinsE[2]); 287 288 #endif 288 289 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithUnforgableProperties.cpp
r223746 r227701 33 33 #include <runtime/JSCInlines.h> 34 34 #include <wtf/GetPtr.h> 35 #include <wtf/PointerPreparations.h> 35 36 36 37 … … 364 365 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 365 366 #if PLATFORM(WIN) 366 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7TestNamedSetterWithUnforgableProperties@WebCore@@6B@"));367 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestNamedSetterWithUnforgableProperties@WebCore@@6B@")); 367 368 #else 368 void* expectedVTablePointer = &_ZTVN7WebCore39TestNamedSetterWithUnforgablePropertiesE[2];369 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore39TestNamedSetterWithUnforgablePropertiesE[2]); 369 370 #endif 370 371 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithUnforgablePropertiesAndOverrideBuiltins.cpp
r223476 r227701 33 33 #include <runtime/JSCInlines.h> 34 34 #include <wtf/GetPtr.h> 35 #include <wtf/PointerPreparations.h> 35 36 36 37 … … 351 352 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 352 353 #if PLATFORM(WIN) 353 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7TestNamedSetterWithUnforgablePropertiesAndOverrideBuiltins@WebCore@@6B@"));354 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestNamedSetterWithUnforgablePropertiesAndOverrideBuiltins@WebCore@@6B@")); 354 355 #else 355 void* expectedVTablePointer = &_ZTVN7WebCore58TestNamedSetterWithUnforgablePropertiesAndOverrideBuiltinsE[2];356 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore58TestNamedSetterWithUnforgablePropertiesAndOverrideBuiltinsE[2]); 356 357 #endif 357 358 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNode.cpp
r223476 r227701 39 39 #include <runtime/ObjectConstructor.h> 40 40 #include <wtf/GetPtr.h> 41 #include <wtf/PointerPreparations.h> 41 42 42 43 … … 427 428 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 428 429 #if PLATFORM(WIN) 429 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7TestNode@WebCore@@6B@"));430 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestNode@WebCore@@6B@")); 430 431 #else 431 void* expectedVTablePointer = &_ZTVN7WebCore8TestNodeE[2];432 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore8TestNodeE[2]); 432 433 #endif 433 434 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp
r223476 r227701 91 91 #include <runtime/PropertyNameArray.h> 92 92 #include <wtf/GetPtr.h> 93 #include <wtf/PointerPreparations.h> 93 94 #include <wtf/Variant.h> 94 95 #include <wtf/Vector.h> … … 8021 8022 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 8022 8023 #if PLATFORM(WIN) 8023 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7TestObj@WebCore@@6B@"));8024 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestObj@WebCore@@6B@")); 8024 8025 #else 8025 void* expectedVTablePointer = &_ZTVN7WebCore7TestObjE[2];8026 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore7TestObjE[2]); 8026 8027 #endif 8027 8028 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp
r223476 r227701 35 35 #include <runtime/JSCInlines.h> 36 36 #include <wtf/GetPtr.h> 37 #include <wtf/PointerPreparations.h> 37 38 38 39 … … 278 279 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 279 280 #if PLATFORM(WIN) 280 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7TestOverloadedConstructors@WebCore@@6B@"));281 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestOverloadedConstructors@WebCore@@6B@")); 281 282 #else 282 void* expectedVTablePointer = &_ZTVN7WebCore26TestOverloadedConstructorsE[2];283 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore26TestOverloadedConstructorsE[2]); 283 284 #endif 284 285 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructorsWithSequence.cpp
r223476 r227701 34 34 #include <runtime/JSCInlines.h> 35 35 #include <wtf/GetPtr.h> 36 #include <wtf/PointerPreparations.h> 36 37 37 38 … … 234 235 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 235 236 #if PLATFORM(WIN) 236 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7TestOverloadedConstructorsWithSequence@WebCore@@6B@"));237 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestOverloadedConstructorsWithSequence@WebCore@@6B@")); 237 238 #else 238 void* expectedVTablePointer = &_ZTVN7WebCore38TestOverloadedConstructorsWithSequenceE[2];239 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore38TestOverloadedConstructorsWithSequenceE[2]); 239 240 #endif 240 241 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.cpp
r223476 r227701 35 35 #include <runtime/JSCInlines.h> 36 36 #include <wtf/GetPtr.h> 37 #include <wtf/PointerPreparations.h> 37 38 38 39 … … 264 265 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 265 266 #if PLATFORM(WIN) 266 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7TestOverrideBuiltins@WebCore@@6B@"));267 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestOverrideBuiltins@WebCore@@6B@")); 267 268 #else 268 void* expectedVTablePointer = &_ZTVN7WebCore20TestOverrideBuiltinsE[2];269 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore20TestOverrideBuiltinsE[2]); 269 270 #endif 270 271 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestPluginInterface.cpp
r223476 r227701 30 30 #include <runtime/JSCInlines.h> 31 31 #include <wtf/GetPtr.h> 32 #include <wtf/PointerPreparations.h> 32 33 33 34 … … 237 238 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 238 239 #if PLATFORM(WIN) 239 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7TestPluginInterface@WebCore@@6B@"));240 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestPluginInterface@WebCore@@6B@")); 240 241 #else 241 void* expectedVTablePointer = &_ZTVN7WebCore19TestPluginInterfaceE[2];242 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore19TestPluginInterfaceE[2]); 242 243 #endif 243 244 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestPromiseRejectionEvent.cpp
r223476 r227701 36 36 #include <runtime/JSCInlines.h> 37 37 #include <wtf/GetPtr.h> 38 #include <wtf/PointerPreparations.h> 38 39 39 40 … … 270 271 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 271 272 #if PLATFORM(WIN) 272 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7TestPromiseRejectionEvent@WebCore@@6B@"));273 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestPromiseRejectionEvent@WebCore@@6B@")); 273 274 #else 274 void* expectedVTablePointer = &_ZTVN7WebCore25TestPromiseRejectionEventE[2];275 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore25TestPromiseRejectionEventE[2]); 275 276 #endif 276 277 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerialization.cpp
r223780 r227701 40 40 #include <runtime/ObjectConstructor.h> 41 41 #include <wtf/GetPtr.h> 42 #include <wtf/PointerPreparations.h> 42 43 43 44 … … 571 572 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 572 573 #if PLATFORM(WIN) 573 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7TestSerialization@WebCore@@6B@"));574 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestSerialization@WebCore@@6B@")); 574 575 #else 575 void* expectedVTablePointer = &_ZTVN7WebCore17TestSerializationE[2];576 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore17TestSerializationE[2]); 576 577 #endif 577 578 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializationIndirectInheritance.cpp
r223476 r227701 28 28 #include <runtime/JSCInlines.h> 29 29 #include <wtf/GetPtr.h> 30 #include <wtf/PointerPreparations.h> 30 31 31 32 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializationInherit.cpp
r223476 r227701 32 32 #include <runtime/ObjectConstructor.h> 33 33 #include <wtf/GetPtr.h> 34 #include <wtf/PointerPreparations.h> 34 35 35 36 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializationInheritFinal.cpp
r223476 r227701 32 32 #include <runtime/ObjectConstructor.h> 33 33 #include <wtf/GetPtr.h> 34 #include <wtf/PointerPreparations.h> 34 35 35 36 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp
r223476 r227701 41 41 #include <runtime/JSCInlines.h> 42 42 #include <wtf/GetPtr.h> 43 #include <wtf/PointerPreparations.h> 43 44 44 45 … … 374 375 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 375 376 #if PLATFORM(WIN) 376 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7TestSerializedScriptValueInterface@WebCore@@6B@"));377 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestSerializedScriptValueInterface@WebCore@@6B@")); 377 378 #else 378 void* expectedVTablePointer = &_ZTVN7WebCore34TestSerializedScriptValueInterfaceE[2];379 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore34TestSerializedScriptValueInterfaceE[2]); 379 380 #endif 380 381 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifier.cpp
r223476 r227701 31 31 #include <runtime/JSCInlines.h> 32 32 #include <wtf/GetPtr.h> 33 #include <wtf/PointerPreparations.h> 33 34 34 35 … … 208 209 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 209 210 #if PLATFORM(WIN) 210 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7TestStringifier@WebCore@@6B@"));211 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestStringifier@WebCore@@6B@")); 211 212 #else 212 void* expectedVTablePointer = &_ZTVN7WebCore15TestStringifierE[2];213 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore15TestStringifierE[2]); 213 214 #endif 214 215 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierAnonymousOperation.cpp
r223476 r227701 31 31 #include <runtime/JSCInlines.h> 32 32 #include <wtf/GetPtr.h> 33 #include <wtf/PointerPreparations.h> 33 34 34 35 … … 208 209 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 209 210 #if PLATFORM(WIN) 210 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7TestStringifierAnonymousOperation@WebCore@@6B@"));211 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestStringifierAnonymousOperation@WebCore@@6B@")); 211 212 #else 212 void* expectedVTablePointer = &_ZTVN7WebCore33TestStringifierAnonymousOperationE[2];213 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore33TestStringifierAnonymousOperationE[2]); 213 214 #endif 214 215 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierNamedOperation.cpp
r223476 r227701 31 31 #include <runtime/JSCInlines.h> 32 32 #include <wtf/GetPtr.h> 33 #include <wtf/PointerPreparations.h> 33 34 34 35 … … 223 224 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 224 225 #if PLATFORM(WIN) 225 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7TestStringifierNamedOperation@WebCore@@6B@"));226 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestStringifierNamedOperation@WebCore@@6B@")); 226 227 #else 227 void* expectedVTablePointer = &_ZTVN7WebCore29TestStringifierNamedOperationE[2];228 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore29TestStringifierNamedOperationE[2]); 228 229 #endif 229 230 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierOperationImplementedAs.cpp
r223476 r227701 31 31 #include <runtime/JSCInlines.h> 32 32 #include <wtf/GetPtr.h> 33 #include <wtf/PointerPreparations.h> 33 34 34 35 … … 223 224 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 224 225 #if PLATFORM(WIN) 225 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7TestStringifierOperationImplementedAs@WebCore@@6B@"));226 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestStringifierOperationImplementedAs@WebCore@@6B@")); 226 227 #else 227 void* expectedVTablePointer = &_ZTVN7WebCore37TestStringifierOperationImplementedAsE[2];228 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore37TestStringifierOperationImplementedAsE[2]); 228 229 #endif 229 230 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierOperationNamedToString.cpp
r223476 r227701 31 31 #include <runtime/JSCInlines.h> 32 32 #include <wtf/GetPtr.h> 33 #include <wtf/PointerPreparations.h> 33 34 34 35 … … 208 209 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 209 210 #if PLATFORM(WIN) 210 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7TestStringifierOperationNamedToString@WebCore@@6B@"));211 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestStringifierOperationNamedToString@WebCore@@6B@")); 211 212 #else 212 void* expectedVTablePointer = &_ZTVN7WebCore37TestStringifierOperationNamedToStringE[2];213 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore37TestStringifierOperationNamedToStringE[2]); 213 214 #endif 214 215 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierReadOnlyAttribute.cpp
r223476 r227701 32 32 #include <runtime/JSCInlines.h> 33 33 #include <wtf/GetPtr.h> 34 #include <wtf/PointerPreparations.h> 34 35 35 36 … … 230 231 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 231 232 #if PLATFORM(WIN) 232 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7TestStringifierReadOnlyAttribute@WebCore@@6B@"));233 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestStringifierReadOnlyAttribute@WebCore@@6B@")); 233 234 #else 234 void* expectedVTablePointer = &_ZTVN7WebCore32TestStringifierReadOnlyAttributeE[2];235 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore32TestStringifierReadOnlyAttributeE[2]); 235 236 #endif 236 237 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierReadWriteAttribute.cpp
r223476 r227701 32 32 #include <runtime/JSCInlines.h> 33 33 #include <wtf/GetPtr.h> 34 #include <wtf/PointerPreparations.h> 34 35 35 36 … … 248 249 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 249 250 #if PLATFORM(WIN) 250 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7TestStringifierReadWriteAttribute@WebCore@@6B@"));251 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestStringifierReadWriteAttribute@WebCore@@6B@")); 251 252 #else 252 void* expectedVTablePointer = &_ZTVN7WebCore33TestStringifierReadWriteAttributeE[2];253 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore33TestStringifierReadWriteAttributeE[2]); 253 254 #endif 254 255 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp
r223476 r227701 49 49 #include <runtime/JSCInlines.h> 50 50 #include <wtf/GetPtr.h> 51 #include <wtf/PointerPreparations.h> 51 52 #include <wtf/Variant.h> 52 53 … … 770 771 void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr())); 771 772 #if PLATFORM(WIN) 772 void* expectedVTablePointer = reinterpret_cast<void*>(__identifier("??_7TestTypedefs@WebCore@@6B@"));773 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestTypedefs@WebCore@@6B@")); 773 774 #else 774 void* expectedVTablePointer = &_ZTVN7WebCore12TestTypedefsE[2];775 void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore12TestTypedefsE[2]); 775 776 #endif 776 777
Note:
See TracChangeset
for help on using the changeset viewer.