Changeset 256791 in webkit


Ignore:
Timestamp:
Feb 17, 2020 5:07:00 PM (4 years ago)
Author:
mark.lam@apple.com
Message:

getVTablePointer() should return a const void*.
https://bugs.webkit.org/show_bug.cgi?id=207871
<rdar://problem/59525721>

Reviewed by Yusuke Suzuki.

Source/WebCore:

  • 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/JSReadOnlySetLike.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSSetLike.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/JSTestEnabledBySetting.cpp:

(WebCore::toJSNewlyCreated):

  • bindings/scripts/test/JS/JSTestEnabledForContext.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/JSTestIterable.cpp:

(WebCore::toJSNewlyCreated):

  • 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/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/PointerPreparations.h:

(WTF::getVTablePointer):

Location:
trunk/Source
Files:
62 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r256784 r256791  
     12020-02-17  Mark Lam  <mark.lam@apple.com>
     2
     3        getVTablePointer() should return a const void*.
     4        https://bugs.webkit.org/show_bug.cgi?id=207871
     5        <rdar://problem/59525721>
     6
     7        Reviewed by Yusuke Suzuki.
     8
     9        * wtf/PointerPreparations.h:
     10        (WTF::getVTablePointer):
     11
    1122020-02-17  Dean Jackson  <dino@apple.com>
    213
  • trunk/Source/WTF/wtf/PointerPreparations.h

    r255139 r256791  
    3535
    3636template<typename T>
    37 ALWAYS_INLINE void* getVTablePointer(T* o) { return __builtin_get_vtable_pointer(o); }
     37ALWAYS_INLINE const void* getVTablePointer(T* o) { return __builtin_get_vtable_pointer(o); }
    3838
    3939#else // not COMPILER_HAS_CLANG_BUILTIN(__builtin_get_vtable_pointer)
     
    4141#if CPU(ARM64E)
    4242template<typename T>
    43 ALWAYS_INLINE void* getVTablePointer(T* o) { return __builtin_ptrauth_auth(*(reinterpret_cast<void**>(o)), ptrauth_key_cxx_vtable_pointer, 0); }
     43ALWAYS_INLINE const void* getVTablePointer(T* o) { return __builtin_ptrauth_auth(*(reinterpret_cast<void**>(o)), ptrauth_key_cxx_vtable_pointer, 0); }
    4444#else // not CPU(ARM64E)
    4545template<typename T>
    46 ALWAYS_INLINE void* getVTablePointer(T* o) { return (*(reinterpret_cast<void**>(o))); }
     46ALWAYS_INLINE const void* getVTablePointer(T* o) { return (*(reinterpret_cast<void**>(o))); }
    4747#endif // not CPU(ARM64E)
    4848
  • trunk/Source/WebCore/ChangeLog

    r256786 r256791  
     12020-02-17  Mark Lam  <mark.lam@apple.com>
     2
     3        getVTablePointer() should return a const void*.
     4        https://bugs.webkit.org/show_bug.cgi?id=207871
     5        <rdar://problem/59525721>
     6
     7        Reviewed by Yusuke Suzuki.
     8
     9        * bindings/scripts/CodeGeneratorJS.pm:
     10        (GenerateImplementation):
     11        * bindings/scripts/test/JS/JSInterfaceName.cpp:
     12        (WebCore::toJSNewlyCreated):
     13        * bindings/scripts/test/JS/JSMapLike.cpp:
     14        (WebCore::toJSNewlyCreated):
     15        * bindings/scripts/test/JS/JSReadOnlyMapLike.cpp:
     16        (WebCore::toJSNewlyCreated):
     17        * bindings/scripts/test/JS/JSReadOnlySetLike.cpp:
     18        (WebCore::toJSNewlyCreated):
     19        * bindings/scripts/test/JS/JSSetLike.cpp:
     20        (WebCore::toJSNewlyCreated):
     21        * bindings/scripts/test/JS/JSTestActiveDOMObject.cpp:
     22        (WebCore::toJSNewlyCreated):
     23        * bindings/scripts/test/JS/JSTestCEReactions.cpp:
     24        (WebCore::toJSNewlyCreated):
     25        * bindings/scripts/test/JS/JSTestCEReactionsStringifier.cpp:
     26        (WebCore::toJSNewlyCreated):
     27        * bindings/scripts/test/JS/JSTestCallTracer.cpp:
     28        (WebCore::toJSNewlyCreated):
     29        * bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.cpp:
     30        (WebCore::toJSNewlyCreated):
     31        * bindings/scripts/test/JS/JSTestEnabledBySetting.cpp:
     32        (WebCore::toJSNewlyCreated):
     33        * bindings/scripts/test/JS/JSTestEnabledForContext.cpp:
     34        (WebCore::toJSNewlyCreated):
     35        * bindings/scripts/test/JS/JSTestEventConstructor.cpp:
     36        (WebCore::toJSNewlyCreated):
     37        * bindings/scripts/test/JS/JSTestEventTarget.cpp:
     38        (WebCore::toJSNewlyCreated):
     39        * bindings/scripts/test/JS/JSTestException.cpp:
     40        (WebCore::toJSNewlyCreated):
     41        * bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp:
     42        (WebCore::toJSNewlyCreated):
     43        * bindings/scripts/test/JS/JSTestGlobalObject.cpp:
     44        (WebCore::toJSNewlyCreated):
     45        * bindings/scripts/test/JS/JSTestIndexedSetterNoIdentifier.cpp:
     46        (WebCore::toJSNewlyCreated):
     47        * bindings/scripts/test/JS/JSTestIndexedSetterThrowingException.cpp:
     48        (WebCore::toJSNewlyCreated):
     49        * bindings/scripts/test/JS/JSTestIndexedSetterWithIdentifier.cpp:
     50        (WebCore::toJSNewlyCreated):
     51        * bindings/scripts/test/JS/JSTestIterable.cpp:
     52        (WebCore::toJSNewlyCreated):
     53        * bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp:
     54        (WebCore::toJSNewlyCreated):
     55        * bindings/scripts/test/JS/JSTestNamedAndIndexedSetterNoIdentifier.cpp:
     56        (WebCore::toJSNewlyCreated):
     57        * bindings/scripts/test/JS/JSTestNamedAndIndexedSetterThrowingException.cpp:
     58        (WebCore::toJSNewlyCreated):
     59        * bindings/scripts/test/JS/JSTestNamedAndIndexedSetterWithIdentifier.cpp:
     60        (WebCore::toJSNewlyCreated):
     61        * bindings/scripts/test/JS/JSTestNamedConstructor.cpp:
     62        (WebCore::toJSNewlyCreated):
     63        * bindings/scripts/test/JS/JSTestNamedDeleterNoIdentifier.cpp:
     64        (WebCore::toJSNewlyCreated):
     65        * bindings/scripts/test/JS/JSTestNamedDeleterThrowingException.cpp:
     66        (WebCore::toJSNewlyCreated):
     67        * bindings/scripts/test/JS/JSTestNamedDeleterWithIdentifier.cpp:
     68        (WebCore::toJSNewlyCreated):
     69        * bindings/scripts/test/JS/JSTestNamedDeleterWithIndexedGetter.cpp:
     70        (WebCore::toJSNewlyCreated):
     71        * bindings/scripts/test/JS/JSTestNamedGetterCallWith.cpp:
     72        (WebCore::toJSNewlyCreated):
     73        * bindings/scripts/test/JS/JSTestNamedGetterNoIdentifier.cpp:
     74        (WebCore::toJSNewlyCreated):
     75        * bindings/scripts/test/JS/JSTestNamedGetterWithIdentifier.cpp:
     76        (WebCore::toJSNewlyCreated):
     77        * bindings/scripts/test/JS/JSTestNamedSetterNoIdentifier.cpp:
     78        (WebCore::toJSNewlyCreated):
     79        * bindings/scripts/test/JS/JSTestNamedSetterThrowingException.cpp:
     80        (WebCore::toJSNewlyCreated):
     81        * bindings/scripts/test/JS/JSTestNamedSetterWithIdentifier.cpp:
     82        (WebCore::toJSNewlyCreated):
     83        * bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetter.cpp:
     84        (WebCore::toJSNewlyCreated):
     85        * bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetterAndSetter.cpp:
     86        (WebCore::toJSNewlyCreated):
     87        * bindings/scripts/test/JS/JSTestNamedSetterWithOverrideBuiltins.cpp:
     88        (WebCore::toJSNewlyCreated):
     89        * bindings/scripts/test/JS/JSTestNamedSetterWithUnforgableProperties.cpp:
     90        (WebCore::toJSNewlyCreated):
     91        * bindings/scripts/test/JS/JSTestNamedSetterWithUnforgablePropertiesAndOverrideBuiltins.cpp:
     92        (WebCore::toJSNewlyCreated):
     93        * bindings/scripts/test/JS/JSTestNode.cpp:
     94        (WebCore::toJSNewlyCreated):
     95        * bindings/scripts/test/JS/JSTestObj.cpp:
     96        (WebCore::toJSNewlyCreated):
     97        * bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp:
     98        (WebCore::toJSNewlyCreated):
     99        * bindings/scripts/test/JS/JSTestOverloadedConstructorsWithSequence.cpp:
     100        (WebCore::toJSNewlyCreated):
     101        * bindings/scripts/test/JS/JSTestOverrideBuiltins.cpp:
     102        (WebCore::toJSNewlyCreated):
     103        * bindings/scripts/test/JS/JSTestPluginInterface.cpp:
     104        (WebCore::toJSNewlyCreated):
     105        * bindings/scripts/test/JS/JSTestPromiseRejectionEvent.cpp:
     106        (WebCore::toJSNewlyCreated):
     107        * bindings/scripts/test/JS/JSTestSerialization.cpp:
     108        (WebCore::toJSNewlyCreated):
     109        * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp:
     110        (WebCore::toJSNewlyCreated):
     111        * bindings/scripts/test/JS/JSTestStringifier.cpp:
     112        (WebCore::toJSNewlyCreated):
     113        * bindings/scripts/test/JS/JSTestStringifierAnonymousOperation.cpp:
     114        (WebCore::toJSNewlyCreated):
     115        * bindings/scripts/test/JS/JSTestStringifierNamedOperation.cpp:
     116        (WebCore::toJSNewlyCreated):
     117        * bindings/scripts/test/JS/JSTestStringifierOperationImplementedAs.cpp:
     118        (WebCore::toJSNewlyCreated):
     119        * bindings/scripts/test/JS/JSTestStringifierOperationNamedToString.cpp:
     120        (WebCore::toJSNewlyCreated):
     121        * bindings/scripts/test/JS/JSTestStringifierReadOnlyAttribute.cpp:
     122        (WebCore::toJSNewlyCreated):
     123        * bindings/scripts/test/JS/JSTestStringifierReadWriteAttribute.cpp:
     124        (WebCore::toJSNewlyCreated):
     125        * bindings/scripts/test/JS/JSTestTypedefs.cpp:
     126        (WebCore::toJSNewlyCreated):
     127
    11282020-02-17  Rob Buis  <rbuis@igalia.com>
    2129
  • trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm

    r256716 r256791  
    48824882
    48834883#if ENABLE(BINDING_INTEGRITY)
    4884     void* actualVTablePointer = getVTablePointer(impl.ptr());
     4884    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    48854885#if PLATFORM(WIN)
    48864886    void* expectedVTablePointer = ${vtableRefWin};
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSInterfaceName.cpp

    r255126 r256791  
    213213
    214214#if ENABLE(BINDING_INTEGRITY)
    215     void* actualVTablePointer = getVTablePointer(impl.ptr());
     215    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    216216#if PLATFORM(WIN)
    217217    void* expectedVTablePointer = __identifier("??_7InterfaceName@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSMapLike.cpp

    r255126 r256791  
    392392
    393393#if ENABLE(BINDING_INTEGRITY)
    394     void* actualVTablePointer = getVTablePointer(impl.ptr());
     394    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    395395#if PLATFORM(WIN)
    396396    void* expectedVTablePointer = __identifier("??_7MapLike@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSReadOnlyMapLike.cpp

    r255126 r256791  
    336336
    337337#if ENABLE(BINDING_INTEGRITY)
    338     void* actualVTablePointer = getVTablePointer(impl.ptr());
     338    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    339339#if PLATFORM(WIN)
    340340    void* expectedVTablePointer = __identifier("??_7ReadOnlyMapLike@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSReadOnlySetLike.cpp

    r255126 r256791  
    317317
    318318#if ENABLE(BINDING_INTEGRITY)
    319     void* actualVTablePointer = getVTablePointer(impl.ptr());
     319    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    320320#if PLATFORM(WIN)
    321321    void* expectedVTablePointer = __identifier("??_7ReadOnlySetLike@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSSetLike.cpp

    r255126 r256791  
    371371
    372372#if ENABLE(BINDING_INTEGRITY)
    373     void* actualVTablePointer = getVTablePointer(impl.ptr());
     373    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    374374#if PLATFORM(WIN)
    375375    void* expectedVTablePointer = __identifier("??_7SetLike@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp

    r255126 r256791  
    348348
    349349#if ENABLE(BINDING_INTEGRITY)
    350     void* actualVTablePointer = getVTablePointer(impl.ptr());
     350    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    351351#if PLATFORM(WIN)
    352352    void* expectedVTablePointer = __identifier("??_7TestActiveDOMObject@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCEReactions.cpp

    r255126 r256791  
    480480
    481481#if ENABLE(BINDING_INTEGRITY)
    482     void* actualVTablePointer = getVTablePointer(impl.ptr());
     482    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    483483#if PLATFORM(WIN)
    484484    void* expectedVTablePointer = __identifier("??_7TestCEReactions@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCEReactionsStringifier.cpp

    r255126 r256791  
    304304
    305305#if ENABLE(BINDING_INTEGRITY)
    306     void* actualVTablePointer = getVTablePointer(impl.ptr());
     306    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    307307#if PLATFORM(WIN)
    308308    void* expectedVTablePointer = __identifier("??_7TestCEReactionsStringifier@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCallTracer.cpp

    r255126 r256791  
    544544
    545545#if ENABLE(BINDING_INTEGRITY)
    546     void* actualVTablePointer = getVTablePointer(impl.ptr());
     546    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    547547#if PLATFORM(WIN)
    548548    void* expectedVTablePointer = __identifier("??_7TestCallTracer@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.cpp

    r255126 r256791  
    205205
    206206#if ENABLE(BINDING_INTEGRITY)
    207     void* actualVTablePointer = getVTablePointer(impl.ptr());
     207    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    208208#if PLATFORM(WIN)
    209209    void* expectedVTablePointer = __identifier("??_7TestClassWithJSBuiltinConstructor@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEnabledBySetting.cpp

    r255126 r256791  
    347347
    348348#if ENABLE(BINDING_INTEGRITY)
    349     void* actualVTablePointer = getVTablePointer(impl.ptr());
     349    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    350350#if PLATFORM(WIN)
    351351    void* expectedVTablePointer = __identifier("??_7TestEnabledBySetting@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEnabledForContext.cpp

    r255126 r256791  
    238238
    239239#if ENABLE(BINDING_INTEGRITY)
    240     void* actualVTablePointer = getVTablePointer(impl.ptr());
     240    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    241241#if PLATFORM(WIN)
    242242    void* expectedVTablePointer = __identifier("??_7TestEnabledForContext@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp

    r256716 r256791  
    337337
    338338#if ENABLE(BINDING_INTEGRITY)
    339     void* actualVTablePointer = getVTablePointer(impl.ptr());
     339    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    340340#if PLATFORM(WIN)
    341341    void* expectedVTablePointer = __identifier("??_7TestEventConstructor@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp

    r255126 r256791  
    279279
    280280#if ENABLE(BINDING_INTEGRITY)
    281     void* actualVTablePointer = getVTablePointer(impl.ptr());
     281    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    282282#if PLATFORM(WIN)
    283283    void* expectedVTablePointer = __identifier("??_7TestEventTarget@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp

    r255126 r256791  
    222222
    223223#if ENABLE(BINDING_INTEGRITY)
    224     void* actualVTablePointer = getVTablePointer(impl.ptr());
     224    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    225225#if PLATFORM(WIN)
    226226    void* expectedVTablePointer = __identifier("??_7TestException@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp

    r255126 r256791  
    232232
    233233#if ENABLE(BINDING_INTEGRITY)
    234     void* actualVTablePointer = getVTablePointer(impl.ptr());
     234    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    235235#if PLATFORM(WIN)
    236236    void* expectedVTablePointer = __identifier("??_7TestGenerateIsReachable@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGlobalObject.cpp

    r255126 r256791  
    28202820
    28212821#if ENABLE(BINDING_INTEGRITY)
    2822     void* actualVTablePointer = getVTablePointer(impl.ptr());
     2822    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    28232823#if PLATFORM(WIN)
    28242824    void* expectedVTablePointer = __identifier("??_7TestGlobalObject@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterNoIdentifier.cpp

    r255126 r256791  
    291291
    292292#if ENABLE(BINDING_INTEGRITY)
    293     void* actualVTablePointer = getVTablePointer(impl.ptr());
     293    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    294294#if PLATFORM(WIN)
    295295    void* expectedVTablePointer = __identifier("??_7TestIndexedSetterNoIdentifier@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterThrowingException.cpp

    r255126 r256791  
    291291
    292292#if ENABLE(BINDING_INTEGRITY)
    293     void* actualVTablePointer = getVTablePointer(impl.ptr());
     293    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    294294#if PLATFORM(WIN)
    295295    void* expectedVTablePointer = __identifier("??_7TestIndexedSetterThrowingException@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterWithIdentifier.cpp

    r255126 r256791  
    324324
    325325#if ENABLE(BINDING_INTEGRITY)
    326     void* actualVTablePointer = getVTablePointer(impl.ptr());
     326    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    327327#if PLATFORM(WIN)
    328328    void* expectedVTablePointer = __identifier("??_7TestIndexedSetterWithIdentifier@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestIterable.cpp

    r255126 r256791  
    277277
    278278#if ENABLE(BINDING_INTEGRITY)
    279     void* actualVTablePointer = getVTablePointer(impl.ptr());
     279    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    280280#if PLATFORM(WIN)
    281281    void* expectedVTablePointer = __identifier("??_7TestIterable@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp

    r255126 r256791  
    232232
    233233#if ENABLE(BINDING_INTEGRITY)
    234     void* actualVTablePointer = getVTablePointer(impl.ptr());
     234    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    235235#if PLATFORM(WIN)
    236236    void* expectedVTablePointer = __identifier("??_7TestMediaQueryListListener@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterNoIdentifier.cpp

    r255126 r256791  
    359359
    360360#if ENABLE(BINDING_INTEGRITY)
    361     void* actualVTablePointer = getVTablePointer(impl.ptr());
     361    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    362362#if PLATFORM(WIN)
    363363    void* expectedVTablePointer = __identifier("??_7TestNamedAndIndexedSetterNoIdentifier@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterThrowingException.cpp

    r255126 r256791  
    359359
    360360#if ENABLE(BINDING_INTEGRITY)
    361     void* actualVTablePointer = getVTablePointer(impl.ptr());
     361    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    362362#if PLATFORM(WIN)
    363363    void* expectedVTablePointer = __identifier("??_7TestNamedAndIndexedSetterThrowingException@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterWithIdentifier.cpp

    r255126 r256791  
    415415
    416416#if ENABLE(BINDING_INTEGRITY)
    417     void* actualVTablePointer = getVTablePointer(impl.ptr());
     417    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    418418#if PLATFORM(WIN)
    419419    void* expectedVTablePointer = __identifier("??_7TestNamedAndIndexedSetterWithIdentifier@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp

    r256716 r256791  
    250250
    251251#if ENABLE(BINDING_INTEGRITY)
    252     void* actualVTablePointer = getVTablePointer(impl.ptr());
     252    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    253253#if PLATFORM(WIN)
    254254    void* expectedVTablePointer = __identifier("??_7TestNamedConstructor@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterNoIdentifier.cpp

    r255126 r256791  
    273273
    274274#if ENABLE(BINDING_INTEGRITY)
    275     void* actualVTablePointer = getVTablePointer(impl.ptr());
     275    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    276276#if PLATFORM(WIN)
    277277    void* expectedVTablePointer = __identifier("??_7TestNamedDeleterNoIdentifier@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterThrowingException.cpp

    r255126 r256791  
    287287
    288288#if ENABLE(BINDING_INTEGRITY)
    289     void* actualVTablePointer = getVTablePointer(impl.ptr());
     289    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    290290#if PLATFORM(WIN)
    291291    void* expectedVTablePointer = __identifier("??_7TestNamedDeleterThrowingException@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterWithIdentifier.cpp

    r255126 r256791  
    305305
    306306#if ENABLE(BINDING_INTEGRITY)
    307     void* actualVTablePointer = getVTablePointer(impl.ptr());
     307    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    308308#if PLATFORM(WIN)
    309309    void* expectedVTablePointer = __identifier("??_7TestNamedDeleterWithIdentifier@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterWithIndexedGetter.cpp

    r255126 r256791  
    289289
    290290#if ENABLE(BINDING_INTEGRITY)
    291     void* actualVTablePointer = getVTablePointer(impl.ptr());
     291    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    292292#if PLATFORM(WIN)
    293293    void* expectedVTablePointer = __identifier("??_7TestNamedDeleterWithIndexedGetter@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterCallWith.cpp

    r255126 r256791  
    251251
    252252#if ENABLE(BINDING_INTEGRITY)
    253     void* actualVTablePointer = getVTablePointer(impl.ptr());
     253    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    254254#if PLATFORM(WIN)
    255255    void* expectedVTablePointer = __identifier("??_7TestNamedGetterCallWith@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterNoIdentifier.cpp

    r255126 r256791  
    251251
    252252#if ENABLE(BINDING_INTEGRITY)
    253     void* actualVTablePointer = getVTablePointer(impl.ptr());
     253    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    254254#if PLATFORM(WIN)
    255255    void* expectedVTablePointer = __identifier("??_7TestNamedGetterNoIdentifier@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterWithIdentifier.cpp

    r255126 r256791  
    280280
    281281#if ENABLE(BINDING_INTEGRITY)
    282     void* actualVTablePointer = getVTablePointer(impl.ptr());
     282    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    283283#if PLATFORM(WIN)
    284284    void* expectedVTablePointer = __identifier("??_7TestNamedGetterWithIdentifier@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterNoIdentifier.cpp

    r255126 r256791  
    314314
    315315#if ENABLE(BINDING_INTEGRITY)
    316     void* actualVTablePointer = getVTablePointer(impl.ptr());
     316    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    317317#if PLATFORM(WIN)
    318318    void* expectedVTablePointer = __identifier("??_7TestNamedSetterNoIdentifier@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterThrowingException.cpp

    r255126 r256791  
    314314
    315315#if ENABLE(BINDING_INTEGRITY)
    316     void* actualVTablePointer = getVTablePointer(impl.ptr());
     316    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    317317#if PLATFORM(WIN)
    318318    void* expectedVTablePointer = __identifier("??_7TestNamedSetterThrowingException@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIdentifier.cpp

    r255126 r256791  
    346346
    347347#if ENABLE(BINDING_INTEGRITY)
    348     void* actualVTablePointer = getVTablePointer(impl.ptr());
     348    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    349349#if PLATFORM(WIN)
    350350    void* expectedVTablePointer = __identifier("??_7TestNamedSetterWithIdentifier@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetter.cpp

    r255126 r256791  
    389389
    390390#if ENABLE(BINDING_INTEGRITY)
    391     void* actualVTablePointer = getVTablePointer(impl.ptr());
     391    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    392392#if PLATFORM(WIN)
    393393    void* expectedVTablePointer = __identifier("??_7TestNamedSetterWithIndexedGetter@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetterAndSetter.cpp

    r255126 r256791  
    441441
    442442#if ENABLE(BINDING_INTEGRITY)
    443     void* actualVTablePointer = getVTablePointer(impl.ptr());
     443    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    444444#if PLATFORM(WIN)
    445445    void* expectedVTablePointer = __identifier("??_7TestNamedSetterWithIndexedGetterAndSetter@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithOverrideBuiltins.cpp

    r255126 r256791  
    301301
    302302#if ENABLE(BINDING_INTEGRITY)
    303     void* actualVTablePointer = getVTablePointer(impl.ptr());
     303    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    304304#if PLATFORM(WIN)
    305305    void* expectedVTablePointer = __identifier("??_7TestNamedSetterWithOverrideBuiltins@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithUnforgableProperties.cpp

    r255126 r256791  
    384384
    385385#if ENABLE(BINDING_INTEGRITY)
    386     void* actualVTablePointer = getVTablePointer(impl.ptr());
     386    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    387387#if PLATFORM(WIN)
    388388    void* expectedVTablePointer = __identifier("??_7TestNamedSetterWithUnforgableProperties@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithUnforgablePropertiesAndOverrideBuiltins.cpp

    r255126 r256791  
    371371
    372372#if ENABLE(BINDING_INTEGRITY)
    373     void* actualVTablePointer = getVTablePointer(impl.ptr());
     373    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    374374#if PLATFORM(WIN)
    375375    void* expectedVTablePointer = __identifier("??_7TestNamedSetterWithUnforgablePropertiesAndOverrideBuiltins@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNode.cpp

    r256716 r256791  
    459459
    460460#if ENABLE(BINDING_INTEGRITY)
    461     void* actualVTablePointer = getVTablePointer(impl.ptr());
     461    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    462462#if PLATFORM(WIN)
    463463    void* expectedVTablePointer = __identifier("??_7TestNode@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp

    r256716 r256791  
    89838983
    89848984#if ENABLE(BINDING_INTEGRITY)
    8985     void* actualVTablePointer = getVTablePointer(impl.ptr());
     8985    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    89868986#if PLATFORM(WIN)
    89878987    void* expectedVTablePointer = __identifier("??_7TestObj@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp

    r256716 r256791  
    304304
    305305#if ENABLE(BINDING_INTEGRITY)
    306     void* actualVTablePointer = getVTablePointer(impl.ptr());
     306    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    307307#if PLATFORM(WIN)
    308308    void* expectedVTablePointer = __identifier("??_7TestOverloadedConstructors@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructorsWithSequence.cpp

    r256716 r256791  
    254254
    255255#if ENABLE(BINDING_INTEGRITY)
    256     void* actualVTablePointer = getVTablePointer(impl.ptr());
     256    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    257257#if PLATFORM(WIN)
    258258    void* expectedVTablePointer = __identifier("??_7TestOverloadedConstructorsWithSequence@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.cpp

    r255126 r256791  
    283283
    284284#if ENABLE(BINDING_INTEGRITY)
    285     void* actualVTablePointer = getVTablePointer(impl.ptr());
     285    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    286286#if PLATFORM(WIN)
    287287    void* expectedVTablePointer = __identifier("??_7TestOverrideBuiltins@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestPluginInterface.cpp

    r255126 r256791  
    255255
    256256#if ENABLE(BINDING_INTEGRITY)
    257     void* actualVTablePointer = getVTablePointer(impl.ptr());
     257    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    258258#if PLATFORM(WIN)
    259259    void* expectedVTablePointer = __identifier("??_7TestPluginInterface@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestPromiseRejectionEvent.cpp

    r256716 r256791  
    316316
    317317#if ENABLE(BINDING_INTEGRITY)
    318     void* actualVTablePointer = getVTablePointer(impl.ptr());
     318    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    319319#if PLATFORM(WIN)
    320320    void* expectedVTablePointer = __identifier("??_7TestPromiseRejectionEvent@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerialization.cpp

    r255126 r256791  
    712712
    713713#if ENABLE(BINDING_INTEGRITY)
    714     void* actualVTablePointer = getVTablePointer(impl.ptr());
     714    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    715715#if PLATFORM(WIN)
    716716    void* expectedVTablePointer = __identifier("??_7TestSerialization@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp

    r255126 r256791  
    394394
    395395#if ENABLE(BINDING_INTEGRITY)
    396     void* actualVTablePointer = getVTablePointer(impl.ptr());
     396    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    397397#if PLATFORM(WIN)
    398398    void* expectedVTablePointer = __identifier("??_7TestSerializedScriptValueInterface@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifier.cpp

    r255126 r256791  
    225225
    226226#if ENABLE(BINDING_INTEGRITY)
    227     void* actualVTablePointer = getVTablePointer(impl.ptr());
     227    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    228228#if PLATFORM(WIN)
    229229    void* expectedVTablePointer = __identifier("??_7TestStringifier@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierAnonymousOperation.cpp

    r255126 r256791  
    225225
    226226#if ENABLE(BINDING_INTEGRITY)
    227     void* actualVTablePointer = getVTablePointer(impl.ptr());
     227    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    228228#if PLATFORM(WIN)
    229229    void* expectedVTablePointer = __identifier("??_7TestStringifierAnonymousOperation@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierNamedOperation.cpp

    r255126 r256791  
    241241
    242242#if ENABLE(BINDING_INTEGRITY)
    243     void* actualVTablePointer = getVTablePointer(impl.ptr());
     243    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    244244#if PLATFORM(WIN)
    245245    void* expectedVTablePointer = __identifier("??_7TestStringifierNamedOperation@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierOperationImplementedAs.cpp

    r255126 r256791  
    241241
    242242#if ENABLE(BINDING_INTEGRITY)
    243     void* actualVTablePointer = getVTablePointer(impl.ptr());
     243    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    244244#if PLATFORM(WIN)
    245245    void* expectedVTablePointer = __identifier("??_7TestStringifierOperationImplementedAs@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierOperationNamedToString.cpp

    r255126 r256791  
    225225
    226226#if ENABLE(BINDING_INTEGRITY)
    227     void* actualVTablePointer = getVTablePointer(impl.ptr());
     227    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    228228#if PLATFORM(WIN)
    229229    void* expectedVTablePointer = __identifier("??_7TestStringifierOperationNamedToString@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierReadOnlyAttribute.cpp

    r255126 r256791  
    247247
    248248#if ENABLE(BINDING_INTEGRITY)
    249     void* actualVTablePointer = getVTablePointer(impl.ptr());
     249    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    250250#if PLATFORM(WIN)
    251251    void* expectedVTablePointer = __identifier("??_7TestStringifierReadOnlyAttribute@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierReadWriteAttribute.cpp

    r255126 r256791  
    266266
    267267#if ENABLE(BINDING_INTEGRITY)
    268     void* actualVTablePointer = getVTablePointer(impl.ptr());
     268    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    269269#if PLATFORM(WIN)
    270270    void* expectedVTablePointer = __identifier("??_7TestStringifierReadWriteAttribute@WebCore@@6B@");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp

    r256716 r256791  
    809809
    810810#if ENABLE(BINDING_INTEGRITY)
    811     void* actualVTablePointer = getVTablePointer(impl.ptr());
     811    const void* actualVTablePointer = getVTablePointer(impl.ptr());
    812812#if PLATFORM(WIN)
    813813    void* expectedVTablePointer = __identifier("??_7TestTypedefs@WebCore@@6B@");
Note: See TracChangeset for help on using the changeset viewer.