Changeset 227701 in webkit


Ignore:
Timestamp:
Jan 26, 2018, 4:43:27 PM (7 years ago)
Author:
mark.lam@apple.com
Message:

Add infrastructure for pointer preparation.
https://bugs.webkit.org/show_bug.cgi?id=182191
<rdar://problem/36889194>

Reviewed by JF Bastien.

Source/WebCore:

No new tests because this patch does not introduce any behavior change.

  • bindings/scripts/CodeGeneratorJS.pm:

(GenerateImplementation):

  • bindings/scripts/test/JS/JSInterfaceName.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSMapLike.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSReadOnlyMapLike.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestActiveDOMObject.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestCEReactions.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestCEReactionsStringifier.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestCallTracer.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestCustomConstructorWithNoInterfaceObject.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestDOMJIT.cpp:
  • bindings/scripts/test/JS/JSTestEnabledBySetting.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestEventConstructor.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestEventTarget.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestException.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestGlobalObject.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestIndexedSetterNoIdentifier.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestIndexedSetterThrowingException.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestIndexedSetterWithIdentifier.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestInterface.cpp:
  • bindings/scripts/test/JS/JSTestInterfaceLeadingUnderscore.cpp:
  • bindings/scripts/test/JS/JSTestIterable.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestJSBuiltinConstructor.cpp:
  • bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestNamedAndIndexedSetterNoIdentifier.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestNamedAndIndexedSetterThrowingException.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestNamedAndIndexedSetterWithIdentifier.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestNamedConstructor.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestNamedDeleterNoIdentifier.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestNamedDeleterThrowingException.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestNamedDeleterWithIdentifier.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestNamedDeleterWithIndexedGetter.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestNamedGetterCallWith.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestNamedGetterNoIdentifier.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestNamedGetterWithIdentifier.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestNamedSetterNoIdentifier.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestNamedSetterThrowingException.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestNamedSetterWithIdentifier.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetter.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetterAndSetter.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestNamedSetterWithOverrideBuiltins.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestNamedSetterWithUnforgableProperties.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestNamedSetterWithUnforgablePropertiesAndOverrideBuiltins.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestNode.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestObj.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestOverloadedConstructorsWithSequence.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestOverrideBuiltins.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestPluginInterface.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestPromiseRejectionEvent.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestSerialization.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestSerializationIndirectInheritance.cpp:
  • bindings/scripts/test/JS/JSTestSerializationInherit.cpp:
  • bindings/scripts/test/JS/JSTestSerializationInheritFinal.cpp:
  • bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestStringifier.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestStringifierAnonymousOperation.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestStringifierNamedOperation.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestStringifierOperationImplementedAs.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestStringifierOperationNamedToString.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestStringifierReadOnlyAttribute.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestStringifierReadWriteAttribute.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestTypedefs.cpp:

(WebCore::toJSNewlyCreated):

Source/WTF:

  • WTF.xcodeproj/project.pbxproj:
  • wtf/CMakeLists.txt:
  • wtf/PointerPreparations.h: Added.
Location:
trunk/Source
Files:
1 added
68 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r227691 r227701  
     12018-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
    1132018-01-26  Chris Nardi  <cnardi@chromium.org>
    214
  • trunk/Source/WTF/WTF.xcodeproj/project.pbxproj

    r226920 r227701  
    628628                FE86A8741E59440200111BBF /* ForbidHeapAllocation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ForbidHeapAllocation.h; sourceTree = "<group>"; };
    629629                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>"; };
    630631                FEDACD3B1630F83F00C69634 /* StackStats.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = StackStats.cpp; sourceTree = "<group>"; };
    631632                FEDACD3C1630F83F00C69634 /* StackStats.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = StackStats.h; sourceTree = "<group>"; };
     
    987988                                E3200AB41E9A536D003B59D2 /* PlatformRegisters.h */,
    988989                                0FF860941BCCBD740045127F /* PointerComparison.h */,
     990                                FEB6B035201BE0B600B958C1 /* PointerPreparations.h */,
    989991                                FE85416C1FBE285B008DA5DA /* Poisoned.cpp */,
    990992                                FE85416D1FBE285C008DA5DA /* Poisoned.h */,
  • trunk/Source/WTF/wtf/CMakeLists.txt

    r226344 r227701  
    111111    Platform.h
    112112    PlatformRegisters.h
     113    PointerPreparations.h
    113114    Poisoned.h
    114115    PoisonedUniquePtr.h
  • trunk/Source/WebCore/ChangeLog

    r227697 r227701  
     12018-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
    11332018-01-26  Simon Fraser  <simon.fraser@apple.com>
    2134
  • trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm

    r226088 r227701  
    44# Copyright (C) 2006, 2007 Samuel Weinig <sam@webkit.org>
    55# Copyright (C) 2006 Alexey Proskuryakov <ap@webkit.org>
    6 # Copyright (C) 2006-2017 Apple Inc. All rights reserved.
     6# Copyright (C) 2006-2018 Apple Inc. All rights reserved.
    77# Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au>
    88# Copyright (C) Research In Motion Limited 2010. All rights reserved.
     
    38043804    AddToImplIncludes("JSDOMWrapperCache.h");
    38053805    AddToImplIncludes("<wtf/GetPtr.h>");
     3806    AddToImplIncludes("<wtf/PointerPreparations.h>");
    38063807    AddToImplIncludes("<runtime/PropertyNameArray.h>") if $indexedGetterOperation;
    38073808    AddToImplIncludes("JSDOMMapLike.h") if $interface->mapLike;
     
    46264627    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    46274628#if PLATFORM(WIN)
    4628     void* expectedVTablePointer = reinterpret_cast<void*>(${vtableRefWin});
     4629    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(${vtableRefWin});
    46294630#else
    4630     void* expectedVTablePointer = ${vtableRefGnu};
     4631    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(${vtableRefGnu});
    46314632#endif
    46324633
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSInterfaceName.cpp

    r223476 r227701  
    2929#include <runtime/JSCInlines.h>
    3030#include <wtf/GetPtr.h>
     31#include <wtf/PointerPreparations.h>
    3132
    3233
     
    197198    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    198199#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@"));
    200201#else
    201     void* expectedVTablePointer = &_ZTVN7WebCore13InterfaceNameE[2];
     202    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore13InterfaceNameE[2]);
    202203#endif
    203204
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSMapLike.cpp

    r223476 r227701  
    3535#include <runtime/JSCInlines.h>
    3636#include <wtf/GetPtr.h>
     37#include <wtf/PointerPreparations.h>
    3738
    3839
     
    366367    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    367368#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@"));
    369370#else
    370     void* expectedVTablePointer = &_ZTVN7WebCore7MapLikeE[2];
     371    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore7MapLikeE[2]);
    371372#endif
    372373
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSReadOnlyMapLike.cpp

    r223476 r227701  
    3535#include <runtime/JSCInlines.h>
    3636#include <wtf/GetPtr.h>
     37#include <wtf/PointerPreparations.h>
    3738
    3839
     
    315316    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    316317#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@"));
    318319#else
    319     void* expectedVTablePointer = &_ZTVN7WebCore15ReadOnlyMapLikeE[2];
     320    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore15ReadOnlyMapLikeE[2]);
    320321#endif
    321322
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp

    r223476 r227701  
    3636#include <runtime/JSCInlines.h>
    3737#include <wtf/GetPtr.h>
     38#include <wtf/PointerPreparations.h>
    3839
    3940
     
    276277    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    277278#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@"));
    279280#else
    280     void* expectedVTablePointer = &_ZTVN7WebCore19TestActiveDOMObjectE[2];
     281    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore19TestActiveDOMObjectE[2]);
    281282#endif
    282283
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCEReactions.cpp

    r223476 r227701  
    3737#include <runtime/JSCInlines.h>
    3838#include <wtf/GetPtr.h>
     39#include <wtf/PointerPreparations.h>
    3940
    4041
     
    330331    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    331332#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@"));
    333334#else
    334     void* expectedVTablePointer = &_ZTVN7WebCore15TestCEReactionsE[2];
     335    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore15TestCEReactionsE[2]);
    335336#endif
    336337
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCEReactionsStringifier.cpp

    r223476 r227701  
    3333#include <runtime/JSCInlines.h>
    3434#include <wtf/GetPtr.h>
     35#include <wtf/PointerPreparations.h>
    3536
    3637
     
    250251    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    251252#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@"));
    253254#else
    254     void* expectedVTablePointer = &_ZTVN7WebCore26TestCEReactionsStringifierE[2];
     255    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore26TestCEReactionsStringifierE[2]);
    255256#endif
    256257
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCallTracer.cpp

    r223476 r227701  
    4040#include <runtime/JSCInlines.h>
    4141#include <wtf/GetPtr.h>
     42#include <wtf/PointerPreparations.h>
    4243#include <wtf/Variant.h>
    4344
     
    549550    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    550551#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@"));
    552553#else
    553     void* expectedVTablePointer = &_ZTVN7WebCore14TestCallTracerE[2];
     554    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore14TestCallTracerE[2]);
    554555#endif
    555556
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.cpp

    r223476 r227701  
    3030#include <runtime/JSCInlines.h>
    3131#include <wtf/GetPtr.h>
     32#include <wtf/PointerPreparations.h>
    3233
    3334
     
    189190    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    190191#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@"));
    192193#else
    193     void* expectedVTablePointer = &_ZTVN7WebCore33TestClassWithJSBuiltinConstructorE[2];
     194    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore33TestClassWithJSBuiltinConstructorE[2]);
    194195#endif
    195196
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomConstructorWithNoInterfaceObject.cpp

    r223476 r227701  
    2929#include <runtime/JSCInlines.h>
    3030#include <wtf/GetPtr.h>
     31#include <wtf/PointerPreparations.h>
    3132
    3233
     
    187188    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    188189#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@"));
    190191#else
    191     void* expectedVTablePointer = &_ZTVN7WebCore42TestCustomConstructorWithNoInterfaceObjectE[2];
     192    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore42TestCustomConstructorWithNoInterfaceObjectE[2]);
    192193#endif
    193194
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestDOMJIT.cpp

    r223476 r227701  
    4444#include <runtime/JSCInlines.h>
    4545#include <wtf/GetPtr.h>
     46#include <wtf/PointerPreparations.h>
    4647
    4748
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEnabledBySetting.cpp

    r223476 r227701  
    3535#include <runtime/JSCInlines.h>
    3636#include <wtf/GetPtr.h>
     37#include <wtf/PointerPreparations.h>
    3738
    3839#if ENABLE(TEST_FEATURE)
     
    323324    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    324325#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@"));
    326327#else
    327     void* expectedVTablePointer = &_ZTVN7WebCore20TestEnabledBySettingE[2];
     328    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore20TestEnabledBySettingE[2]);
    328329#endif
    329330
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp

    r223476 r227701  
    3232#include <runtime/JSCInlines.h>
    3333#include <wtf/GetPtr.h>
     34#include <wtf/PointerPreparations.h>
    3435
    3536
     
    288289    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    289290#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@"));
    291292#else
    292     void* expectedVTablePointer = &_ZTVN7WebCore20TestEventConstructorE[2];
     293    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore20TestEventConstructorE[2]);
    293294#endif
    294295
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp

    r223476 r227701  
    3535#include <runtime/PropertyNameArray.h>
    3636#include <wtf/GetPtr.h>
     37#include <wtf/PointerPreparations.h>
    3738
    3839
     
    261262    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    262263#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@"));
    264265#else
    265     void* expectedVTablePointer = &_ZTVN7WebCore15TestEventTargetE[2];
     266    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore15TestEventTargetE[2]);
    266267#endif
    267268
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp

    r223476 r227701  
    3131#include <runtime/JSCInlines.h>
    3232#include <wtf/GetPtr.h>
     33#include <wtf/PointerPreparations.h>
    3334
    3435
     
    206207    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    207208#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@"));
    209210#else
    210     void* expectedVTablePointer = &_ZTVN7WebCore13TestExceptionE[2];
     211    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore13TestExceptionE[2]);
    211212#endif
    212213
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp

    r223476 r227701  
    3232#include <runtime/JSCInlines.h>
    3333#include <wtf/GetPtr.h>
     34#include <wtf/PointerPreparations.h>
    3435
    3536
     
    212213    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    213214#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@"));
    215216#else
    216     void* expectedVTablePointer = &_ZTVN7WebCore23TestGenerateIsReachableE[2];
     217    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore23TestGenerateIsReachableE[2]);
    217218#endif
    218219
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGlobalObject.cpp

    r223746 r227701  
    3939#include <runtime/JSCInlines.h>
    4040#include <wtf/GetPtr.h>
     41#include <wtf/PointerPreparations.h>
    4142
    4243#if ENABLE(TEST_FEATURE)
     
    597598    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    598599#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@"));
    600601#else
    601     void* expectedVTablePointer = &_ZTVN7WebCore16TestGlobalObjectE[2];
     602    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore16TestGlobalObjectE[2]);
    602603#endif
    603604
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterNoIdentifier.cpp

    r223476 r227701  
    3232#include <runtime/PropertyNameArray.h>
    3333#include <wtf/GetPtr.h>
     34#include <wtf/PointerPreparations.h>
    3435
    3536
     
    275276    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    276277#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@"));
    278279#else
    279     void* expectedVTablePointer = &_ZTVN7WebCore29TestIndexedSetterNoIdentifierE[2];
     280    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore29TestIndexedSetterNoIdentifierE[2]);
    280281#endif
    281282
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterThrowingException.cpp

    r223476 r227701  
    3232#include <runtime/PropertyNameArray.h>
    3333#include <wtf/GetPtr.h>
     34#include <wtf/PointerPreparations.h>
    3435
    3536
     
    275276    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    276277#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@"));
    278279#else
    279     void* expectedVTablePointer = &_ZTVN7WebCore34TestIndexedSetterThrowingExceptionE[2];
     280    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore34TestIndexedSetterThrowingExceptionE[2]);
    280281#endif
    281282
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterWithIdentifier.cpp

    r223476 r227701  
    3434#include <runtime/PropertyNameArray.h>
    3535#include <wtf/GetPtr.h>
     36#include <wtf/PointerPreparations.h>
    3637
    3738
     
    307308    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    308309#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@"));
    310311#else
    311     void* expectedVTablePointer = &_ZTVN7WebCore31TestIndexedSetterWithIdentifierE[2];
     312    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore31TestIndexedSetterWithIdentifierE[2]);
    312313#endif
    313314
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp

    r223476 r227701  
    3737#include <runtime/JSCInlines.h>
    3838#include <wtf/GetPtr.h>
     39#include <wtf/PointerPreparations.h>
    3940
    4041#if ENABLE(Condition1) || ENABLE(Condition11) || ENABLE(Condition12) || ENABLE(Condition2) || ENABLE(Condition22) || ENABLE(Condition23)
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterfaceLeadingUnderscore.cpp

    r223476 r227701  
    3131#include <runtime/JSCInlines.h>
    3232#include <wtf/GetPtr.h>
     33#include <wtf/PointerPreparations.h>
    3334
    3435
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestIterable.cpp

    r223476 r227701  
    3232#include <runtime/JSCInlines.h>
    3333#include <wtf/GetPtr.h>
     34#include <wtf/PointerPreparations.h>
    3435
    3536
     
    259260    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    260261#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@"));
    262263#else
    263     void* expectedVTablePointer = &_ZTVN7WebCore12TestIterableE[2];
     264    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore12TestIterableE[2]);
    264265#endif
    265266
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestJSBuiltinConstructor.cpp

    r223476 r227701  
    3232#include <runtime/JSCInlines.h>
    3333#include <wtf/GetPtr.h>
     34#include <wtf/PointerPreparations.h>
    3435
    3536
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp

    r223476 r227701  
    3333#include <runtime/JSCInlines.h>
    3434#include <wtf/GetPtr.h>
     35#include <wtf/PointerPreparations.h>
    3536
    3637
     
    215216    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    216217#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@"));
    218219#else
    219     void* expectedVTablePointer = &_ZTVN7WebCore26TestMediaQueryListListenerE[2];
     220    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore26TestMediaQueryListListenerE[2]);
    220221#endif
    221222
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterNoIdentifier.cpp

    r223746 r227701  
    3333#include <runtime/PropertyNameArray.h>
    3434#include <wtf/GetPtr.h>
     35#include <wtf/PointerPreparations.h>
    3536
    3637
     
    341342    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    342343#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@"));
    344345#else
    345     void* expectedVTablePointer = &_ZTVN7WebCore37TestNamedAndIndexedSetterNoIdentifierE[2];
     346    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore37TestNamedAndIndexedSetterNoIdentifierE[2]);
    346347#endif
    347348
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterThrowingException.cpp

    r223746 r227701  
    3333#include <runtime/PropertyNameArray.h>
    3434#include <wtf/GetPtr.h>
     35#include <wtf/PointerPreparations.h>
    3536
    3637
     
    341342    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    342343#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@"));
    344345#else
    345     void* expectedVTablePointer = &_ZTVN7WebCore42TestNamedAndIndexedSetterThrowingExceptionE[2];
     346    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore42TestNamedAndIndexedSetterThrowingExceptionE[2]);
    346347#endif
    347348
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterWithIdentifier.cpp

    r223746 r227701  
    3535#include <runtime/PropertyNameArray.h>
    3636#include <wtf/GetPtr.h>
     37#include <wtf/PointerPreparations.h>
    3738
    3839
     
    395396    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    396397#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@"));
    398399#else
    399     void* expectedVTablePointer = &_ZTVN7WebCore39TestNamedAndIndexedSetterWithIdentifierE[2];
     400    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore39TestNamedAndIndexedSetterWithIdentifierE[2]);
    400401#endif
    401402
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp

    r223476 r227701  
    3232#include <runtime/JSCInlines.h>
    3333#include <wtf/GetPtr.h>
     34#include <wtf/PointerPreparations.h>
    3435
    3536
     
    228229    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    229230#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@"));
    231232#else
    232     void* expectedVTablePointer = &_ZTVN7WebCore20TestNamedConstructorE[2];
     233    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore20TestNamedConstructorE[2]);
    233234#endif
    234235
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterNoIdentifier.cpp

    r223476 r227701  
    3131#include <runtime/JSCInlines.h>
    3232#include <wtf/GetPtr.h>
     33#include <wtf/PointerPreparations.h>
    3334
    3435
     
    254255    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    255256#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@"));
    257258#else
    258     void* expectedVTablePointer = &_ZTVN7WebCore28TestNamedDeleterNoIdentifierE[2];
     259    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore28TestNamedDeleterNoIdentifierE[2]);
    259260#endif
    260261
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterThrowingException.cpp

    r223476 r227701  
    3131#include <runtime/JSCInlines.h>
    3232#include <wtf/GetPtr.h>
     33#include <wtf/PointerPreparations.h>
    3334
    3435
     
    268269    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    269270#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@"));
    271272#else
    272     void* expectedVTablePointer = &_ZTVN7WebCore33TestNamedDeleterThrowingExceptionE[2];
     273    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore33TestNamedDeleterThrowingExceptionE[2]);
    273274#endif
    274275
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterWithIdentifier.cpp

    r223476 r227701  
    3232#include <runtime/JSCInlines.h>
    3333#include <wtf/GetPtr.h>
     34#include <wtf/PointerPreparations.h>
    3435
    3536
     
    285286    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    286287#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@"));
    288289#else
    289     void* expectedVTablePointer = &_ZTVN7WebCore30TestNamedDeleterWithIdentifierE[2];
     290    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore30TestNamedDeleterWithIdentifierE[2]);
    290291#endif
    291292
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterWithIndexedGetter.cpp

    r223476 r227701  
    3333#include <runtime/PropertyNameArray.h>
    3434#include <wtf/GetPtr.h>
     35#include <wtf/PointerPreparations.h>
    3536
    3637
     
    272273    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    273274#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@"));
    275276#else
    276     void* expectedVTablePointer = &_ZTVN7WebCore33TestNamedDeleterWithIndexedGetterE[2];
     277    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore33TestNamedDeleterWithIndexedGetterE[2]);
    277278#endif
    278279
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterCallWith.cpp

    r223476 r227701  
    3131#include <runtime/JSCInlines.h>
    3232#include <wtf/GetPtr.h>
     33#include <wtf/PointerPreparations.h>
    3334
    3435
     
    233234    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    234235#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@"));
    236237#else
    237     void* expectedVTablePointer = &_ZTVN7WebCore23TestNamedGetterCallWithE[2];
     238    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore23TestNamedGetterCallWithE[2]);
    238239#endif
    239240
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterNoIdentifier.cpp

    r223476 r227701  
    3131#include <runtime/JSCInlines.h>
    3232#include <wtf/GetPtr.h>
     33#include <wtf/PointerPreparations.h>
    3334
    3435
     
    233234    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    234235#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@"));
    236237#else
    237     void* expectedVTablePointer = &_ZTVN7WebCore27TestNamedGetterNoIdentifierE[2];
     238    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore27TestNamedGetterNoIdentifierE[2]);
    238239#endif
    239240
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterWithIdentifier.cpp

    r223476 r227701  
    3232#include <runtime/JSCInlines.h>
    3333#include <wtf/GetPtr.h>
     34#include <wtf/PointerPreparations.h>
    3435
    3536
     
    261262    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    262263#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@"));
    264265#else
    265     void* expectedVTablePointer = &_ZTVN7WebCore29TestNamedGetterWithIdentifierE[2];
     266    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore29TestNamedGetterWithIdentifierE[2]);
    266267#endif
    267268
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterNoIdentifier.cpp

    r223746 r227701  
    3131#include <runtime/JSCInlines.h>
    3232#include <wtf/GetPtr.h>
     33#include <wtf/PointerPreparations.h>
    3334
    3435
     
    295296    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    296297#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@"));
    298299#else
    299     void* expectedVTablePointer = &_ZTVN7WebCore27TestNamedSetterNoIdentifierE[2];
     300    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore27TestNamedSetterNoIdentifierE[2]);
    300301#endif
    301302
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterThrowingException.cpp

    r223746 r227701  
    3131#include <runtime/JSCInlines.h>
    3232#include <wtf/GetPtr.h>
     33#include <wtf/PointerPreparations.h>
    3334
    3435
     
    295296    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    296297#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@"));
    298299#else
    299     void* expectedVTablePointer = &_ZTVN7WebCore32TestNamedSetterThrowingExceptionE[2];
     300    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore32TestNamedSetterThrowingExceptionE[2]);
    300301#endif
    301302
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIdentifier.cpp

    r223746 r227701  
    3232#include <runtime/JSCInlines.h>
    3333#include <wtf/GetPtr.h>
     34#include <wtf/PointerPreparations.h>
    3435
    3536
     
    326327    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    327328#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@"));
    329330#else
    330     void* expectedVTablePointer = &_ZTVN7WebCore29TestNamedSetterWithIdentifierE[2];
     331    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore29TestNamedSetterWithIdentifierE[2]);
    331332#endif
    332333
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetter.cpp

    r223746 r227701  
    3535#include <runtime/PropertyNameArray.h>
    3636#include <wtf/GetPtr.h>
     37#include <wtf/PointerPreparations.h>
    3738
    3839
     
    369370    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    370371#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@"));
    372373#else
    373     void* expectedVTablePointer = &_ZTVN7WebCore32TestNamedSetterWithIndexedGetterE[2];
     374    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore32TestNamedSetterWithIndexedGetterE[2]);
    374375#endif
    375376
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetterAndSetter.cpp

    r223746 r227701  
    3535#include <runtime/PropertyNameArray.h>
    3636#include <wtf/GetPtr.h>
     37#include <wtf/PointerPreparations.h>
    3738
    3839
     
    419420    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    420421#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@"));
    422423#else
    423     void* expectedVTablePointer = &_ZTVN7WebCore41TestNamedSetterWithIndexedGetterAndSetterE[2];
     424    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore41TestNamedSetterWithIndexedGetterAndSetterE[2]);
    424425#endif
    425426
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithOverrideBuiltins.cpp

    r223476 r227701  
    3131#include <runtime/JSCInlines.h>
    3232#include <wtf/GetPtr.h>
     33#include <wtf/PointerPreparations.h>
    3334
    3435
     
    282283    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    283284#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@"));
    285286#else
    286     void* expectedVTablePointer = &_ZTVN7WebCore35TestNamedSetterWithOverrideBuiltinsE[2];
     287    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore35TestNamedSetterWithOverrideBuiltinsE[2]);
    287288#endif
    288289
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithUnforgableProperties.cpp

    r223746 r227701  
    3333#include <runtime/JSCInlines.h>
    3434#include <wtf/GetPtr.h>
     35#include <wtf/PointerPreparations.h>
    3536
    3637
     
    364365    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    365366#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@"));
    367368#else
    368     void* expectedVTablePointer = &_ZTVN7WebCore39TestNamedSetterWithUnforgablePropertiesE[2];
     369    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore39TestNamedSetterWithUnforgablePropertiesE[2]);
    369370#endif
    370371
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithUnforgablePropertiesAndOverrideBuiltins.cpp

    r223476 r227701  
    3333#include <runtime/JSCInlines.h>
    3434#include <wtf/GetPtr.h>
     35#include <wtf/PointerPreparations.h>
    3536
    3637
     
    351352    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    352353#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@"));
    354355#else
    355     void* expectedVTablePointer = &_ZTVN7WebCore58TestNamedSetterWithUnforgablePropertiesAndOverrideBuiltinsE[2];
     356    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore58TestNamedSetterWithUnforgablePropertiesAndOverrideBuiltinsE[2]);
    356357#endif
    357358
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNode.cpp

    r223476 r227701  
    3939#include <runtime/ObjectConstructor.h>
    4040#include <wtf/GetPtr.h>
     41#include <wtf/PointerPreparations.h>
    4142
    4243
     
    427428    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    428429#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@"));
    430431#else
    431     void* expectedVTablePointer = &_ZTVN7WebCore8TestNodeE[2];
     432    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore8TestNodeE[2]);
    432433#endif
    433434
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp

    r223476 r227701  
    9191#include <runtime/PropertyNameArray.h>
    9292#include <wtf/GetPtr.h>
     93#include <wtf/PointerPreparations.h>
    9394#include <wtf/Variant.h>
    9495#include <wtf/Vector.h>
     
    80218022    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    80228023#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@"));
    80248025#else
    8025     void* expectedVTablePointer = &_ZTVN7WebCore7TestObjE[2];
     8026    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore7TestObjE[2]);
    80268027#endif
    80278028
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp

    r223476 r227701  
    3535#include <runtime/JSCInlines.h>
    3636#include <wtf/GetPtr.h>
     37#include <wtf/PointerPreparations.h>
    3738
    3839
     
    278279    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    279280#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@"));
    281282#else
    282     void* expectedVTablePointer = &_ZTVN7WebCore26TestOverloadedConstructorsE[2];
     283    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore26TestOverloadedConstructorsE[2]);
    283284#endif
    284285
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructorsWithSequence.cpp

    r223476 r227701  
    3434#include <runtime/JSCInlines.h>
    3535#include <wtf/GetPtr.h>
     36#include <wtf/PointerPreparations.h>
    3637
    3738
     
    234235    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    235236#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@"));
    237238#else
    238     void* expectedVTablePointer = &_ZTVN7WebCore38TestOverloadedConstructorsWithSequenceE[2];
     239    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore38TestOverloadedConstructorsWithSequenceE[2]);
    239240#endif
    240241
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.cpp

    r223476 r227701  
    3535#include <runtime/JSCInlines.h>
    3636#include <wtf/GetPtr.h>
     37#include <wtf/PointerPreparations.h>
    3738
    3839
     
    264265    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    265266#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@"));
    267268#else
    268     void* expectedVTablePointer = &_ZTVN7WebCore20TestOverrideBuiltinsE[2];
     269    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore20TestOverrideBuiltinsE[2]);
    269270#endif
    270271
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestPluginInterface.cpp

    r223476 r227701  
    3030#include <runtime/JSCInlines.h>
    3131#include <wtf/GetPtr.h>
     32#include <wtf/PointerPreparations.h>
    3233
    3334
     
    237238    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    238239#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@"));
    240241#else
    241     void* expectedVTablePointer = &_ZTVN7WebCore19TestPluginInterfaceE[2];
     242    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore19TestPluginInterfaceE[2]);
    242243#endif
    243244
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestPromiseRejectionEvent.cpp

    r223476 r227701  
    3636#include <runtime/JSCInlines.h>
    3737#include <wtf/GetPtr.h>
     38#include <wtf/PointerPreparations.h>
    3839
    3940
     
    270271    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    271272#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@"));
    273274#else
    274     void* expectedVTablePointer = &_ZTVN7WebCore25TestPromiseRejectionEventE[2];
     275    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore25TestPromiseRejectionEventE[2]);
    275276#endif
    276277
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerialization.cpp

    r223780 r227701  
    4040#include <runtime/ObjectConstructor.h>
    4141#include <wtf/GetPtr.h>
     42#include <wtf/PointerPreparations.h>
    4243
    4344
     
    571572    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    572573#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@"));
    574575#else
    575     void* expectedVTablePointer = &_ZTVN7WebCore17TestSerializationE[2];
     576    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore17TestSerializationE[2]);
    576577#endif
    577578
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializationIndirectInheritance.cpp

    r223476 r227701  
    2828#include <runtime/JSCInlines.h>
    2929#include <wtf/GetPtr.h>
     30#include <wtf/PointerPreparations.h>
    3031
    3132
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializationInherit.cpp

    r223476 r227701  
    3232#include <runtime/ObjectConstructor.h>
    3333#include <wtf/GetPtr.h>
     34#include <wtf/PointerPreparations.h>
    3435
    3536
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializationInheritFinal.cpp

    r223476 r227701  
    3232#include <runtime/ObjectConstructor.h>
    3333#include <wtf/GetPtr.h>
     34#include <wtf/PointerPreparations.h>
    3435
    3536
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp

    r223476 r227701  
    4141#include <runtime/JSCInlines.h>
    4242#include <wtf/GetPtr.h>
     43#include <wtf/PointerPreparations.h>
    4344
    4445
     
    374375    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    375376#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@"));
    377378#else
    378     void* expectedVTablePointer = &_ZTVN7WebCore34TestSerializedScriptValueInterfaceE[2];
     379    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore34TestSerializedScriptValueInterfaceE[2]);
    379380#endif
    380381
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifier.cpp

    r223476 r227701  
    3131#include <runtime/JSCInlines.h>
    3232#include <wtf/GetPtr.h>
     33#include <wtf/PointerPreparations.h>
    3334
    3435
     
    208209    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    209210#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@"));
    211212#else
    212     void* expectedVTablePointer = &_ZTVN7WebCore15TestStringifierE[2];
     213    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore15TestStringifierE[2]);
    213214#endif
    214215
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierAnonymousOperation.cpp

    r223476 r227701  
    3131#include <runtime/JSCInlines.h>
    3232#include <wtf/GetPtr.h>
     33#include <wtf/PointerPreparations.h>
    3334
    3435
     
    208209    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    209210#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@"));
    211212#else
    212     void* expectedVTablePointer = &_ZTVN7WebCore33TestStringifierAnonymousOperationE[2];
     213    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore33TestStringifierAnonymousOperationE[2]);
    213214#endif
    214215
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierNamedOperation.cpp

    r223476 r227701  
    3131#include <runtime/JSCInlines.h>
    3232#include <wtf/GetPtr.h>
     33#include <wtf/PointerPreparations.h>
    3334
    3435
     
    223224    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    224225#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@"));
    226227#else
    227     void* expectedVTablePointer = &_ZTVN7WebCore29TestStringifierNamedOperationE[2];
     228    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore29TestStringifierNamedOperationE[2]);
    228229#endif
    229230
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierOperationImplementedAs.cpp

    r223476 r227701  
    3131#include <runtime/JSCInlines.h>
    3232#include <wtf/GetPtr.h>
     33#include <wtf/PointerPreparations.h>
    3334
    3435
     
    223224    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    224225#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@"));
    226227#else
    227     void* expectedVTablePointer = &_ZTVN7WebCore37TestStringifierOperationImplementedAsE[2];
     228    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore37TestStringifierOperationImplementedAsE[2]);
    228229#endif
    229230
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierOperationNamedToString.cpp

    r223476 r227701  
    3131#include <runtime/JSCInlines.h>
    3232#include <wtf/GetPtr.h>
     33#include <wtf/PointerPreparations.h>
    3334
    3435
     
    208209    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    209210#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@"));
    211212#else
    212     void* expectedVTablePointer = &_ZTVN7WebCore37TestStringifierOperationNamedToStringE[2];
     213    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore37TestStringifierOperationNamedToStringE[2]);
    213214#endif
    214215
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierReadOnlyAttribute.cpp

    r223476 r227701  
    3232#include <runtime/JSCInlines.h>
    3333#include <wtf/GetPtr.h>
     34#include <wtf/PointerPreparations.h>
    3435
    3536
     
    230231    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    231232#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@"));
    233234#else
    234     void* expectedVTablePointer = &_ZTVN7WebCore32TestStringifierReadOnlyAttributeE[2];
     235    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore32TestStringifierReadOnlyAttributeE[2]);
    235236#endif
    236237
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierReadWriteAttribute.cpp

    r223476 r227701  
    3232#include <runtime/JSCInlines.h>
    3333#include <wtf/GetPtr.h>
     34#include <wtf/PointerPreparations.h>
    3435
    3536
     
    248249    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    249250#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@"));
    251252#else
    252     void* expectedVTablePointer = &_ZTVN7WebCore33TestStringifierReadWriteAttributeE[2];
     253    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore33TestStringifierReadWriteAttributeE[2]);
    253254#endif
    254255
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp

    r223476 r227701  
    4949#include <runtime/JSCInlines.h>
    5050#include <wtf/GetPtr.h>
     51#include <wtf/PointerPreparations.h>
    5152#include <wtf/Variant.h>
    5253
     
    770771    void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
    771772#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@"));
    773774#else
    774     void* expectedVTablePointer = &_ZTVN7WebCore12TestTypedefsE[2];
     775    void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore12TestTypedefsE[2]);
    775776#endif
    776777
Note: See TracChangeset for help on using the changeset viewer.