Diff
Modified: trunk/Source/WTF/ChangeLog (255125 => 255126)
--- trunk/Source/WTF/ChangeLog 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WTF/ChangeLog 2020-01-25 22:34:00 UTC (rev 255126)
@@ -1,5 +1,20 @@
2020-01-25 Mark Lam <[email protected]>
+ Introduce a getVTablePointer() utility function.
+ https://bugs.webkit.org/show_bug.cgi?id=206804
+ <rdar://problem/58872290>
+
+ Reviewed by Yusuke Suzuki and Oliver Hunt.
+
+ With getVTablePointer(), we can abstract away how we get a vtable function pointer
+ without assuming the way it is signed for ARM64E. With this, we can remove the
+ WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION macro which assumes how a vtable function
+ pointer is signed.
+
+ * wtf/PointerPreparations.h:
+
+2020-01-25 Mark Lam <[email protected]>
+
Add some tests for dynamically allocated StaticStringImpls.
https://bugs.webkit.org/show_bug.cgi?id=206802
Modified: trunk/Source/WTF/wtf/PointerPreparations.h (255125 => 255126)
--- trunk/Source/WTF/wtf/PointerPreparations.h 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WTF/wtf/PointerPreparations.h 2020-01-25 22:34:00 UTC (rev 255126)
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2018-2019 Apple Inc. All rights reserved.
+ * Copyright (C) 2018-2020 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -25,17 +25,23 @@
#pragma once
+#if CPU(ARM64E)
+#include <ptrauth.h>
+#endif
+
namespace WTF {
#if CPU(ARM64E)
-#include <ptrauth.h>
-#define WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(vtblPtr) \
- (reinterpret_cast<void*>(ptrauth_sign_unauthenticated(vtblPtr, ptrauth_key_cxx_vtable_pointer, 0)))
+#if __has_builtin(__builtin_get_vtable_pointer)
+#define getVTablePointer(o) __builtin_get_vtable_pointer(o)
+#else
+#define getVTablePointer(o) __builtin_ptrauth_auth(*(reinterpret_cast<void**>(o)), ptrauth_key_cxx_vtable_pointer, 0)
+#endif
#else // not CPU(ARM64E)
-#define WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(vtblPtr) (reinterpret_cast<void*>(vtblPtr))
+#define getVTablePointer(o) (*(reinterpret_cast<void**>(o)))
#endif // not CPU(ARM64E)
Modified: trunk/Source/WebCore/ChangeLog (255125 => 255126)
--- trunk/Source/WebCore/ChangeLog 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/ChangeLog 2020-01-25 22:34:00 UTC (rev 255126)
@@ -1,3 +1,132 @@
+2020-01-25 Mark Lam <[email protected]>
+
+ Introduce a getVTablePointer() utility function.
+ https://bugs.webkit.org/show_bug.cgi?id=206804
+ <rdar://problem/58872290>
+
+ Reviewed by Yusuke Suzuki and Oliver Hunt.
+
+ Updated CodeGeneratorJS to use getVTablePointer() and rebased test results.
+
+ * 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):
+
2020-01-25 Per Arne Vollan <[email protected]>
[Cocoa] Media mime types map should be created in the UI process
Modified: trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm 2020-01-25 22:34:00 UTC (rev 255126)
@@ -3,7 +3,7 @@
# Copyright (C) 2006 Anders Carlsson <[email protected]>
# Copyright (C) 2006, 2007 Samuel Weinig <[email protected]>
# Copyright (C) 2006 Alexey Proskuryakov <[email protected]>
-# Copyright (C) 2006-2019 Apple Inc. All rights reserved.
+# Copyright (C) 2006-2020 Apple Inc. All rights reserved.
# Copyright (C) 2009 Cameron McCormack <[email protected]>
# Copyright (C) Research In Motion Limited 2010. All rights reserved.
# Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
@@ -4840,11 +4840,11 @@
push(@implContent, <<END) if $vtableNameGnu;
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(${vtableRefWin});
+ void* expectedVTablePointer = ${vtableRefWin};
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(${vtableRefGnu});
+ void* expectedVTablePointer = ${vtableRefGnu};
#endif
// If this fails ${implType} does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSInterfaceName.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSInterfaceName.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSInterfaceName.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -212,11 +212,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7InterfaceName@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7InterfaceName@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore13InterfaceNameE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore13InterfaceNameE[2];
#endif
// If this fails InterfaceName does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSMapLike.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSMapLike.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSMapLike.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -391,11 +391,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7MapLike@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7MapLike@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore7MapLikeE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore7MapLikeE[2];
#endif
// If this fails MapLike does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSReadOnlyMapLike.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSReadOnlyMapLike.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSReadOnlyMapLike.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -335,11 +335,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7ReadOnlyMapLike@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7ReadOnlyMapLike@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore15ReadOnlyMapLikeE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore15ReadOnlyMapLikeE[2];
#endif
// If this fails ReadOnlyMapLike does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSReadOnlySetLike.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSReadOnlySetLike.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSReadOnlySetLike.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -316,11 +316,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7ReadOnlySetLike@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7ReadOnlySetLike@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore15ReadOnlySetLikeE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore15ReadOnlySetLikeE[2];
#endif
// If this fails ReadOnlySetLike does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSSetLike.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSSetLike.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSSetLike.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -370,11 +370,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7SetLike@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7SetLike@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore7SetLikeE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore7SetLikeE[2];
#endif
// If this fails SetLike does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -347,11 +347,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestActiveDOMObject@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7TestActiveDOMObject@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore19TestActiveDOMObjectE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore19TestActiveDOMObjectE[2];
#endif
// If this fails TestActiveDOMObject does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCEReactions.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCEReactions.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCEReactions.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -479,11 +479,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestCEReactions@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7TestCEReactions@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore15TestCEReactionsE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore15TestCEReactionsE[2];
#endif
// If this fails TestCEReactions does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCEReactionsStringifier.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCEReactionsStringifier.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCEReactionsStringifier.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -303,11 +303,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestCEReactionsStringifier@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7TestCEReactionsStringifier@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore26TestCEReactionsStringifierE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore26TestCEReactionsStringifierE[2];
#endif
// If this fails TestCEReactionsStringifier does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCallTracer.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCallTracer.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCallTracer.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -543,11 +543,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestCallTracer@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7TestCallTracer@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore14TestCallTracerE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore14TestCallTracerE[2];
#endif
// If this fails TestCallTracer does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -204,11 +204,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestClassWithJSBuiltinConstructor@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7TestClassWithJSBuiltinConstructor@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore33TestClassWithJSBuiltinConstructorE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore33TestClassWithJSBuiltinConstructorE[2];
#endif
// If this fails TestClassWithJSBuiltinConstructor does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEnabledBySetting.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEnabledBySetting.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEnabledBySetting.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -346,11 +346,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestEnabledBySetting@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7TestEnabledBySetting@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore20TestEnabledBySettingE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore20TestEnabledBySettingE[2];
#endif
// If this fails TestEnabledBySetting does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEnabledForContext.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEnabledForContext.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEnabledForContext.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -237,11 +237,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestEnabledForContext@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7TestEnabledForContext@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore21TestEnabledForContextE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore21TestEnabledForContextE[2];
#endif
// If this fails TestEnabledForContext does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -334,11 +334,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestEventConstructor@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7TestEventConstructor@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore20TestEventConstructorE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore20TestEventConstructorE[2];
#endif
// If this fails TestEventConstructor does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -278,11 +278,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestEventTarget@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7TestEventTarget@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore15TestEventTargetE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore15TestEventTargetE[2];
#endif
// If this fails TestEventTarget does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -221,11 +221,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestException@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7TestException@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore13TestExceptionE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore13TestExceptionE[2];
#endif
// If this fails TestException does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -231,11 +231,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestGenerateIsReachable@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7TestGenerateIsReachable@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore23TestGenerateIsReachableE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore23TestGenerateIsReachableE[2];
#endif
// If this fails TestGenerateIsReachable does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGlobalObject.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGlobalObject.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGlobalObject.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -2819,11 +2819,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestGlobalObject@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7TestGlobalObject@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore16TestGlobalObjectE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore16TestGlobalObjectE[2];
#endif
// If this fails TestGlobalObject does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterNoIdentifier.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterNoIdentifier.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterNoIdentifier.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -290,11 +290,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestIndexedSetterNoIdentifier@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7TestIndexedSetterNoIdentifier@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore29TestIndexedSetterNoIdentifierE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore29TestIndexedSetterNoIdentifierE[2];
#endif
// If this fails TestIndexedSetterNoIdentifier does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterThrowingException.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterThrowingException.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterThrowingException.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -290,11 +290,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestIndexedSetterThrowingException@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7TestIndexedSetterThrowingException@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore34TestIndexedSetterThrowingExceptionE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore34TestIndexedSetterThrowingExceptionE[2];
#endif
// If this fails TestIndexedSetterThrowingException does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterWithIdentifier.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterWithIdentifier.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterWithIdentifier.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -323,11 +323,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestIndexedSetterWithIdentifier@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7TestIndexedSetterWithIdentifier@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore31TestIndexedSetterWithIdentifierE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore31TestIndexedSetterWithIdentifierE[2];
#endif
// If this fails TestIndexedSetterWithIdentifier does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestIterable.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestIterable.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestIterable.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -276,11 +276,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestIterable@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7TestIterable@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore12TestIterableE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore12TestIterableE[2];
#endif
// If this fails TestIterable does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -231,11 +231,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestMediaQueryListListener@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7TestMediaQueryListListener@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore26TestMediaQueryListListenerE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore26TestMediaQueryListListenerE[2];
#endif
// If this fails TestMediaQueryListListener does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterNoIdentifier.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterNoIdentifier.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterNoIdentifier.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -358,11 +358,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestNamedAndIndexedSetterNoIdentifier@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7TestNamedAndIndexedSetterNoIdentifier@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore37TestNamedAndIndexedSetterNoIdentifierE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore37TestNamedAndIndexedSetterNoIdentifierE[2];
#endif
// If this fails TestNamedAndIndexedSetterNoIdentifier does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterThrowingException.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterThrowingException.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterThrowingException.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -358,11 +358,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestNamedAndIndexedSetterThrowingException@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7TestNamedAndIndexedSetterThrowingException@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore42TestNamedAndIndexedSetterThrowingExceptionE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore42TestNamedAndIndexedSetterThrowingExceptionE[2];
#endif
// If this fails TestNamedAndIndexedSetterThrowingException does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterWithIdentifier.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterWithIdentifier.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterWithIdentifier.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -414,11 +414,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestNamedAndIndexedSetterWithIdentifier@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7TestNamedAndIndexedSetterWithIdentifier@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore39TestNamedAndIndexedSetterWithIdentifierE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore39TestNamedAndIndexedSetterWithIdentifierE[2];
#endif
// If this fails TestNamedAndIndexedSetterWithIdentifier does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -246,11 +246,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestNamedConstructor@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7TestNamedConstructor@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore20TestNamedConstructorE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore20TestNamedConstructorE[2];
#endif
// If this fails TestNamedConstructor does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterNoIdentifier.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterNoIdentifier.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterNoIdentifier.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -272,11 +272,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestNamedDeleterNoIdentifier@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7TestNamedDeleterNoIdentifier@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore28TestNamedDeleterNoIdentifierE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore28TestNamedDeleterNoIdentifierE[2];
#endif
// If this fails TestNamedDeleterNoIdentifier does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterThrowingException.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterThrowingException.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterThrowingException.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -286,11 +286,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestNamedDeleterThrowingException@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7TestNamedDeleterThrowingException@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore33TestNamedDeleterThrowingExceptionE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore33TestNamedDeleterThrowingExceptionE[2];
#endif
// If this fails TestNamedDeleterThrowingException does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterWithIdentifier.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterWithIdentifier.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterWithIdentifier.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -304,11 +304,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestNamedDeleterWithIdentifier@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7TestNamedDeleterWithIdentifier@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore30TestNamedDeleterWithIdentifierE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore30TestNamedDeleterWithIdentifierE[2];
#endif
// If this fails TestNamedDeleterWithIdentifier does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterWithIndexedGetter.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterWithIndexedGetter.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterWithIndexedGetter.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -288,11 +288,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestNamedDeleterWithIndexedGetter@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7TestNamedDeleterWithIndexedGetter@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore33TestNamedDeleterWithIndexedGetterE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore33TestNamedDeleterWithIndexedGetterE[2];
#endif
// If this fails TestNamedDeleterWithIndexedGetter does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterCallWith.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterCallWith.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterCallWith.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -250,11 +250,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestNamedGetterCallWith@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7TestNamedGetterCallWith@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore23TestNamedGetterCallWithE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore23TestNamedGetterCallWithE[2];
#endif
// If this fails TestNamedGetterCallWith does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterNoIdentifier.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterNoIdentifier.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterNoIdentifier.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -250,11 +250,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestNamedGetterNoIdentifier@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7TestNamedGetterNoIdentifier@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore27TestNamedGetterNoIdentifierE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore27TestNamedGetterNoIdentifierE[2];
#endif
// If this fails TestNamedGetterNoIdentifier does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterWithIdentifier.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterWithIdentifier.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterWithIdentifier.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -279,11 +279,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestNamedGetterWithIdentifier@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7TestNamedGetterWithIdentifier@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore29TestNamedGetterWithIdentifierE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore29TestNamedGetterWithIdentifierE[2];
#endif
// If this fails TestNamedGetterWithIdentifier does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterNoIdentifier.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterNoIdentifier.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterNoIdentifier.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -313,11 +313,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestNamedSetterNoIdentifier@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7TestNamedSetterNoIdentifier@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore27TestNamedSetterNoIdentifierE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore27TestNamedSetterNoIdentifierE[2];
#endif
// If this fails TestNamedSetterNoIdentifier does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterThrowingException.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterThrowingException.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterThrowingException.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -313,11 +313,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestNamedSetterThrowingException@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7TestNamedSetterThrowingException@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore32TestNamedSetterThrowingExceptionE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore32TestNamedSetterThrowingExceptionE[2];
#endif
// If this fails TestNamedSetterThrowingException does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIdentifier.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIdentifier.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIdentifier.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -345,11 +345,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestNamedSetterWithIdentifier@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7TestNamedSetterWithIdentifier@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore29TestNamedSetterWithIdentifierE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore29TestNamedSetterWithIdentifierE[2];
#endif
// If this fails TestNamedSetterWithIdentifier does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetter.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetter.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetter.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -388,11 +388,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestNamedSetterWithIndexedGetter@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7TestNamedSetterWithIndexedGetter@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore32TestNamedSetterWithIndexedGetterE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore32TestNamedSetterWithIndexedGetterE[2];
#endif
// If this fails TestNamedSetterWithIndexedGetter does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetterAndSetter.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetterAndSetter.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetterAndSetter.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -440,11 +440,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestNamedSetterWithIndexedGetterAndSetter@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7TestNamedSetterWithIndexedGetterAndSetter@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore41TestNamedSetterWithIndexedGetterAndSetterE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore41TestNamedSetterWithIndexedGetterAndSetterE[2];
#endif
// If this fails TestNamedSetterWithIndexedGetterAndSetter does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithOverrideBuiltins.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithOverrideBuiltins.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithOverrideBuiltins.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -300,11 +300,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestNamedSetterWithOverrideBuiltins@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7TestNamedSetterWithOverrideBuiltins@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore35TestNamedSetterWithOverrideBuiltinsE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore35TestNamedSetterWithOverrideBuiltinsE[2];
#endif
// If this fails TestNamedSetterWithOverrideBuiltins does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithUnforgableProperties.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithUnforgableProperties.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithUnforgableProperties.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -383,11 +383,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestNamedSetterWithUnforgableProperties@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7TestNamedSetterWithUnforgableProperties@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore39TestNamedSetterWithUnforgablePropertiesE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore39TestNamedSetterWithUnforgablePropertiesE[2];
#endif
// If this fails TestNamedSetterWithUnforgableProperties does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithUnforgablePropertiesAndOverrideBuiltins.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithUnforgablePropertiesAndOverrideBuiltins.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithUnforgablePropertiesAndOverrideBuiltins.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -370,11 +370,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestNamedSetterWithUnforgablePropertiesAndOverrideBuiltins@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7TestNamedSetterWithUnforgablePropertiesAndOverrideBuiltins@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore58TestNamedSetterWithUnforgablePropertiesAndOverrideBuiltinsE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore58TestNamedSetterWithUnforgablePropertiesAndOverrideBuiltinsE[2];
#endif
// If this fails TestNamedSetterWithUnforgablePropertiesAndOverrideBuiltins does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNode.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNode.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNode.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -456,11 +456,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestNode@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7TestNode@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore8TestNodeE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore8TestNodeE[2];
#endif
// If this fails TestNode does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -8936,11 +8936,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestObj@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7TestObj@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore7TestObjE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore7TestObjE[2];
#endif
// If this fails TestObj does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -293,11 +293,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestOverloadedConstructors@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7TestOverloadedConstructors@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore26TestOverloadedConstructorsE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore26TestOverloadedConstructorsE[2];
#endif
// If this fails TestOverloadedConstructors does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructorsWithSequence.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructorsWithSequence.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructorsWithSequence.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -249,11 +249,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestOverloadedConstructorsWithSequence@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7TestOverloadedConstructorsWithSequence@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore38TestOverloadedConstructorsWithSequenceE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore38TestOverloadedConstructorsWithSequenceE[2];
#endif
// If this fails TestOverloadedConstructorsWithSequence does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -282,11 +282,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestOverrideBuiltins@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7TestOverrideBuiltins@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore20TestOverrideBuiltinsE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore20TestOverrideBuiltinsE[2];
#endif
// If this fails TestOverrideBuiltins does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestPluginInterface.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestPluginInterface.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestPluginInterface.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -254,11 +254,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestPluginInterface@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7TestPluginInterface@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore19TestPluginInterfaceE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore19TestPluginInterfaceE[2];
#endif
// If this fails TestPluginInterface does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestPromiseRejectionEvent.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestPromiseRejectionEvent.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestPromiseRejectionEvent.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -313,11 +313,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestPromiseRejectionEvent@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7TestPromiseRejectionEvent@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore25TestPromiseRejectionEventE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore25TestPromiseRejectionEventE[2];
#endif
// If this fails TestPromiseRejectionEvent does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerialization.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerialization.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerialization.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -711,11 +711,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestSerialization@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7TestSerialization@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore17TestSerializationE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore17TestSerializationE[2];
#endif
// If this fails TestSerialization does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -393,11 +393,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestSerializedScriptValueInterface@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7TestSerializedScriptValueInterface@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore34TestSerializedScriptValueInterfaceE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore34TestSerializedScriptValueInterfaceE[2];
#endif
// If this fails TestSerializedScriptValueInterface does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifier.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifier.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifier.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -224,11 +224,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestStringifier@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7TestStringifier@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore15TestStringifierE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore15TestStringifierE[2];
#endif
// If this fails TestStringifier does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierAnonymousOperation.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierAnonymousOperation.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierAnonymousOperation.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -224,11 +224,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestStringifierAnonymousOperation@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7TestStringifierAnonymousOperation@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore33TestStringifierAnonymousOperationE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore33TestStringifierAnonymousOperationE[2];
#endif
// If this fails TestStringifierAnonymousOperation does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierNamedOperation.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierNamedOperation.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierNamedOperation.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -240,11 +240,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestStringifierNamedOperation@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7TestStringifierNamedOperation@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore29TestStringifierNamedOperationE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore29TestStringifierNamedOperationE[2];
#endif
// If this fails TestStringifierNamedOperation does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierOperationImplementedAs.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierOperationImplementedAs.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierOperationImplementedAs.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -240,11 +240,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestStringifierOperationImplementedAs@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7TestStringifierOperationImplementedAs@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore37TestStringifierOperationImplementedAsE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore37TestStringifierOperationImplementedAsE[2];
#endif
// If this fails TestStringifierOperationImplementedAs does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierOperationNamedToString.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierOperationNamedToString.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierOperationNamedToString.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -224,11 +224,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestStringifierOperationNamedToString@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7TestStringifierOperationNamedToString@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore37TestStringifierOperationNamedToStringE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore37TestStringifierOperationNamedToStringE[2];
#endif
// If this fails TestStringifierOperationNamedToString does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierReadOnlyAttribute.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierReadOnlyAttribute.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierReadOnlyAttribute.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -246,11 +246,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestStringifierReadOnlyAttribute@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7TestStringifierReadOnlyAttribute@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore32TestStringifierReadOnlyAttributeE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore32TestStringifierReadOnlyAttributeE[2];
#endif
// If this fails TestStringifierReadOnlyAttribute does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierReadWriteAttribute.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierReadWriteAttribute.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierReadWriteAttribute.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -265,11 +265,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestStringifierReadWriteAttribute@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7TestStringifierReadWriteAttribute@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore33TestStringifierReadWriteAttributeE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore33TestStringifierReadWriteAttributeE[2];
#endif
// If this fails TestStringifierReadWriteAttribute does not have a vtable, so you need to add the
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp (255125 => 255126)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp 2020-01-25 20:13:34 UTC (rev 255125)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp 2020-01-25 22:34:00 UTC (rev 255126)
@@ -806,11 +806,11 @@
{
#if ENABLE(BINDING_INTEGRITY)
- void* actualVTablePointer = *(reinterpret_cast<void**>(impl.ptr()));
+ void* actualVTablePointer = getVTablePointer(impl.ptr());
#if PLATFORM(WIN)
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(__identifier("??_7TestTypedefs@WebCore@@6B@"));
+ void* expectedVTablePointer = __identifier("??_7TestTypedefs@WebCore@@6B@");
#else
- void* expectedVTablePointer = WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(&_ZTVN7WebCore12TestTypedefsE[2]);
+ void* expectedVTablePointer = &_ZTVN7WebCore12TestTypedefsE[2];
#endif
// If this fails TestTypedefs does not have a vtable, so you need to add the