Diff
Modified: trunk/JSTests/ChangeLog (244712 => 244713)
--- trunk/JSTests/ChangeLog 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/JSTests/ChangeLog 2019-04-27 00:37:40 UTC (rev 244713)
@@ -1,3 +1,16 @@
+2019-04-26 Commit Queue <commit-qu...@webkit.org>
+
+ Unreviewed, rolling out r244708.
+ https://bugs.webkit.org/show_bug.cgi?id=197334
+
+ "Broke the debug build" (Requested by rmorisset on #webkit).
+
+ Reverted changeset:
+
+ "All prototypes should call didBecomePrototype()"
+ https://bugs.webkit.org/show_bug.cgi?id=196315
+ https://trac.webkit.org/changeset/244708
+
2019-04-25 Yusuke Suzuki <ysuz...@apple.com>
[JSC] linkPolymorphicCall now does GC
Deleted: trunk/JSTests/stress/function-prototype-indexed-accessor.js (244712 => 244713)
--- trunk/JSTests/stress/function-prototype-indexed-accessor.js 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/JSTests/stress/function-prototype-indexed-accessor.js 2019-04-27 00:37:40 UTC (rev 244713)
@@ -1,3 +0,0 @@
-Function[0] = 0;
-Object.defineProperty(Function.__proto__, '42', { set: ()=>{} });
-Function[1000] = 0;
Modified: trunk/Source/_javascript_Core/ChangeLog (244712 => 244713)
--- trunk/Source/_javascript_Core/ChangeLog 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/_javascript_Core/ChangeLog 2019-04-27 00:37:40 UTC (rev 244713)
@@ -1,3 +1,16 @@
+2019-04-26 Commit Queue <commit-qu...@webkit.org>
+
+ Unreviewed, rolling out r244708.
+ https://bugs.webkit.org/show_bug.cgi?id=197334
+
+ "Broke the debug build" (Requested by rmorisset on #webkit).
+
+ Reverted changeset:
+
+ "All prototypes should call didBecomePrototype()"
+ https://bugs.webkit.org/show_bug.cgi?id=196315
+ https://trac.webkit.org/changeset/244708
+
2019-04-26 Don Olmstead <don.olmst...@sony.com>
[CMake] Add WEBKIT_EXECUTABLE macro
Modified: trunk/Source/_javascript_Core/runtime/BigIntPrototype.cpp (244712 => 244713)
--- trunk/Source/_javascript_Core/runtime/BigIntPrototype.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/_javascript_Core/runtime/BigIntPrototype.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -73,7 +73,6 @@
Base::finishCreation(vm);
ASSERT(inherits(vm, info()));
putDirectWithoutTransition(vm, vm.propertyNames->toStringTagSymbol, jsString(&vm, "BigInt"), PropertyAttribute::DontEnum | PropertyAttribute::ReadOnly);
- didBecomePrototype();
}
// ------------------------------ Functions ---------------------------
Modified: trunk/Source/_javascript_Core/runtime/BooleanPrototype.cpp (244712 => 244713)
--- trunk/Source/_javascript_Core/runtime/BooleanPrototype.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/_javascript_Core/runtime/BooleanPrototype.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -59,7 +59,6 @@
{
Base::finishCreation(vm);
setInternalValue(vm, jsBoolean(false));
- didBecomePrototype();
ASSERT(inherits(vm, info()));
}
Modified: trunk/Source/_javascript_Core/runtime/DatePrototype.cpp (244712 => 244713)
--- trunk/Source/_javascript_Core/runtime/DatePrototype.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/_javascript_Core/runtime/DatePrototype.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -515,7 +515,6 @@
JSFunction* toPrimitiveFunction = JSFunction::create(vm, globalObject, 1, "[Symbol.toPrimitive]"_s, dateProtoFuncToPrimitiveSymbol, NoIntrinsic);
putDirectWithoutTransition(vm, vm.propertyNames->toPrimitiveSymbol, toPrimitiveFunction, PropertyAttribute::DontEnum | PropertyAttribute::ReadOnly);
- didBecomePrototype();
// The constructor will be added later, after DateConstructor has been built.
}
Modified: trunk/Source/_javascript_Core/runtime/ErrorConstructor.cpp (244712 => 244713)
--- trunk/Source/_javascript_Core/runtime/ErrorConstructor.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/_javascript_Core/runtime/ErrorConstructor.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -48,7 +48,6 @@
putDirectWithoutTransition(vm, vm.propertyNames->prototype, errorPrototype, PropertyAttribute::DontEnum | PropertyAttribute::DontDelete | PropertyAttribute::ReadOnly);
putDirectWithoutTransition(vm, vm.propertyNames->length, jsNumber(1), PropertyAttribute::DontEnum | PropertyAttribute::ReadOnly);
putDirectWithoutTransition(vm, vm.propertyNames->stackTraceLimit, jsNumber(globalObject(vm)->stackTraceLimit().valueOr(Options::defaultErrorStackTraceLimit())), static_cast<unsigned>(PropertyAttribute::None));
- didBecomePrototype();
}
// ECMA 15.9.3
Modified: trunk/Source/_javascript_Core/runtime/ErrorPrototype.cpp (244712 => 244713)
--- trunk/Source/_javascript_Core/runtime/ErrorPrototype.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/_javascript_Core/runtime/ErrorPrototype.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -66,7 +66,6 @@
ASSERT(inherits(vm, info()));
putDirectWithoutTransition(vm, vm.propertyNames->name, jsString(&vm, name), static_cast<unsigned>(PropertyAttribute::DontEnum));
putDirectWithoutTransition(vm, vm.propertyNames->message, jsEmptyString(&vm), static_cast<unsigned>(PropertyAttribute::DontEnum));
- didBecomePrototype();
}
// ------------------------------ Functions ---------------------------
Modified: trunk/Source/_javascript_Core/runtime/FunctionConstructor.cpp (244712 => 244713)
--- trunk/Source/_javascript_Core/runtime/FunctionConstructor.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/_javascript_Core/runtime/FunctionConstructor.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -61,7 +61,6 @@
Base::finishCreation(vm, vm.propertyNames->Function.string(), NameVisibility::Visible, NameAdditionMode::WithoutStructureTransition);
putDirectWithoutTransition(vm, vm.propertyNames->prototype, functionPrototype, PropertyAttribute::DontEnum | PropertyAttribute::DontDelete | PropertyAttribute::ReadOnly);
putDirectWithoutTransition(vm, vm.propertyNames->length, jsNumber(1), PropertyAttribute::ReadOnly | PropertyAttribute::DontEnum);
- didBecomePrototype();
}
// ECMA 15.3.2 The Function Constructor
Modified: trunk/Source/_javascript_Core/runtime/FunctionPrototype.cpp (244712 => 244713)
--- trunk/Source/_javascript_Core/runtime/FunctionPrototype.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/_javascript_Core/runtime/FunctionPrototype.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -54,7 +54,6 @@
{
Base::finishCreation(vm, name, NameVisibility::Visible, NameAdditionMode::WithoutStructureTransition);
putDirectWithoutTransition(vm, vm.propertyNames->length, jsNumber(0), PropertyAttribute::DontDelete | PropertyAttribute::ReadOnly | PropertyAttribute::DontEnum);
- didBecomePrototype();
}
void FunctionPrototype::addFunctionProperties(VM& vm, JSGlobalObject* globalObject, JSFunction** callFunction, JSFunction** applyFunction, JSFunction** hasInstanceSymbolFunction)
Modified: trunk/Source/_javascript_Core/runtime/IntlCollatorPrototype.cpp (244712 => 244713)
--- trunk/Source/_javascript_Core/runtime/IntlCollatorPrototype.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/_javascript_Core/runtime/IntlCollatorPrototype.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -76,7 +76,6 @@
Base::finishCreation(vm);
putDirectWithoutTransition(vm, vm.propertyNames->toStringTagSymbol, jsString(&vm, "Object"), PropertyAttribute::DontEnum | PropertyAttribute::ReadOnly);
- didBecomePrototype();
}
static EncodedJSValue JSC_HOST_CALL IntlCollatorFuncCompare(ExecState* state)
Modified: trunk/Source/_javascript_Core/runtime/IntlDateTimeFormatPrototype.cpp (244712 => 244713)
--- trunk/Source/_javascript_Core/runtime/IntlDateTimeFormatPrototype.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/_javascript_Core/runtime/IntlDateTimeFormatPrototype.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -90,7 +90,6 @@
#endif
putDirectWithoutTransition(vm, vm.propertyNames->toStringTagSymbol, jsString(&vm, "Object"), PropertyAttribute::DontEnum | PropertyAttribute::ReadOnly);
- didBecomePrototype();
}
static EncodedJSValue JSC_HOST_CALL IntlDateTimeFormatFuncFormatDateTime(ExecState* state)
Modified: trunk/Source/_javascript_Core/runtime/IntlNumberFormatPrototype.cpp (244712 => 244713)
--- trunk/Source/_javascript_Core/runtime/IntlNumberFormatPrototype.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/_javascript_Core/runtime/IntlNumberFormatPrototype.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -88,7 +88,6 @@
#endif
putDirectWithoutTransition(vm, vm.propertyNames->toStringTagSymbol, jsString(&vm, "Object"), PropertyAttribute::DontEnum | PropertyAttribute::ReadOnly);
- didBecomePrototype();
}
static EncodedJSValue JSC_HOST_CALL IntlNumberFormatFuncFormatNumber(ExecState* state)
Modified: trunk/Source/_javascript_Core/runtime/IntlPluralRulesPrototype.cpp (244712 => 244713)
--- trunk/Source/_javascript_Core/runtime/IntlPluralRulesPrototype.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/_javascript_Core/runtime/IntlPluralRulesPrototype.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -75,7 +75,6 @@
Base::finishCreation(vm);
putDirectWithoutTransition(vm, vm.propertyNames->toStringTagSymbol, jsString(&vm, "Object"), PropertyAttribute::DontEnum | PropertyAttribute::ReadOnly);
- didBecomePrototype();
}
EncodedJSValue JSC_HOST_CALL IntlPluralRulesPrototypeFuncSelect(ExecState* state)
Modified: trunk/Source/_javascript_Core/runtime/JSArrayBufferPrototype.cpp (244712 => 244713)
--- trunk/Source/_javascript_Core/runtime/JSArrayBufferPrototype.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/_javascript_Core/runtime/JSArrayBufferPrototype.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -121,7 +121,6 @@
JSC_NATIVE_GETTER_WITHOUT_TRANSITION(vm.propertyNames->byteLength, arrayBufferProtoGetterFuncByteLength, PropertyAttribute::DontEnum | PropertyAttribute::ReadOnly);
else
JSC_NATIVE_GETTER_WITHOUT_TRANSITION(vm.propertyNames->byteLength, sharedArrayBufferProtoGetterFuncByteLength, PropertyAttribute::DontEnum | PropertyAttribute::ReadOnly);
- didBecomePrototype();
}
JSArrayBufferPrototype* JSArrayBufferPrototype::create(VM& vm, JSGlobalObject* globalObject, Structure* structure, ArrayBufferSharingMode sharingMode)
Modified: trunk/Source/_javascript_Core/runtime/JSDataViewPrototype.cpp (244712 => 244713)
--- trunk/Source/_javascript_Core/runtime/JSDataViewPrototype.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/_javascript_Core/runtime/JSDataViewPrototype.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -110,7 +110,6 @@
{
Base::finishCreation(vm);
putDirectWithoutTransition(vm, vm.propertyNames->toStringTagSymbol, jsString(&vm, "DataView"), PropertyAttribute::DontEnum | PropertyAttribute::ReadOnly);
- didBecomePrototype();
}
Structure* JSDataViewPrototype::createStructure(
Modified: trunk/Source/_javascript_Core/runtime/JSGenericTypedArrayViewPrototypeInlines.h (244712 => 244713)
--- trunk/Source/_javascript_Core/runtime/JSGenericTypedArrayViewPrototypeInlines.h 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/_javascript_Core/runtime/JSGenericTypedArrayViewPrototypeInlines.h 2019-04-27 00:37:40 UTC (rev 244713)
@@ -45,7 +45,6 @@
putDirect(vm, vm.propertyNames->BYTES_PER_ELEMENT, jsNumber(ViewClass::elementSize), PropertyAttribute::DontEnum | PropertyAttribute::ReadOnly | PropertyAttribute::DontDelete);
- didBecomePrototype();
}
template<typename ViewClass>
Modified: trunk/Source/_javascript_Core/runtime/JSGlobalObject.cpp (244712 => 244713)
--- trunk/Source/_javascript_Core/runtime/JSGlobalObject.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/_javascript_Core/runtime/JSGlobalObject.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -232,9 +232,7 @@
static JSValue createConsoleProperty(VM& vm, JSObject* object)
{
JSGlobalObject* global = jsCast<JSGlobalObject*>(object);
- JSValue prototype = constructEmptyObject(global->globalExec());
- prototype.getObject()->didBecomePrototype();
- return ConsoleObject::create(vm, global, ConsoleObject::createStructure(vm, global, prototype));
+ return ConsoleObject::create(vm, global, ConsoleObject::createStructure(vm, global, constructEmptyObject(global->globalExec())));
}
static EncodedJSValue JSC_HOST_CALL makeBoundFunction(ExecState* exec)
Modified: trunk/Source/_javascript_Core/runtime/JSPromisePrototype.cpp (244712 => 244713)
--- trunk/Source/_javascript_Core/runtime/JSPromisePrototype.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/_javascript_Core/runtime/JSPromisePrototype.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -77,7 +77,6 @@
{
Base::finishCreation(vm);
putDirectWithoutTransition(vm, vm.propertyNames->toStringTagSymbol, jsString(&vm, "Promise"), PropertyAttribute::DontEnum | PropertyAttribute::ReadOnly);
- didBecomePrototype();
}
void JSPromisePrototype::addOwnInternalSlots(VM& vm, JSGlobalObject* globalObject)
Modified: trunk/Source/_javascript_Core/runtime/JSTypedArrayViewConstructor.cpp (244712 => 244713)
--- trunk/Source/_javascript_Core/runtime/JSTypedArrayViewConstructor.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/_javascript_Core/runtime/JSTypedArrayViewConstructor.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -55,8 +55,6 @@
JSC_BUILTIN_FUNCTION_WITHOUT_TRANSITION(vm.propertyNames->of, typedArrayConstructorOfCodeGenerator, static_cast<unsigned>(PropertyAttribute::DontEnum));
JSC_BUILTIN_FUNCTION_WITHOUT_TRANSITION(vm.propertyNames->from, typedArrayConstructorFromCodeGenerator, static_cast<unsigned>(PropertyAttribute::DontEnum));
-
- didBecomePrototype();
}
Structure* JSTypedArrayViewConstructor::createStructure(
Modified: trunk/Source/_javascript_Core/runtime/JSTypedArrayViewPrototype.cpp (244712 => 244713)
--- trunk/Source/_javascript_Core/runtime/JSTypedArrayViewPrototype.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/_javascript_Core/runtime/JSTypedArrayViewPrototype.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -334,7 +334,6 @@
putDirectWithoutTransition(vm, vm.propertyNames->builtinNames().valuesPublicName(), valuesFunction, static_cast<unsigned>(PropertyAttribute::DontEnum));
putDirectWithoutTransition(vm, vm.propertyNames->iteratorSymbol, valuesFunction, static_cast<unsigned>(PropertyAttribute::DontEnum));
- didBecomePrototype();
}
JSTypedArrayViewPrototype* JSTypedArrayViewPrototype::create(
Modified: trunk/Source/_javascript_Core/runtime/NumberPrototype.cpp (244712 => 244713)
--- trunk/Source/_javascript_Core/runtime/NumberPrototype.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/_javascript_Core/runtime/NumberPrototype.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -82,7 +82,6 @@
JSC_NATIVE_INTRINSIC_FUNCTION_WITHOUT_TRANSITION(vm.propertyNames->toString, numberProtoFuncToString, static_cast<unsigned>(PropertyAttribute::DontEnum), 1, NumberPrototypeToStringIntrinsic);
ASSERT(inherits(vm, info()));
- didBecomePrototype();
}
// ------------------------------ Functions ---------------------------
Modified: trunk/Source/_javascript_Core/runtime/RegExpPrototype.cpp (244712 => 244713)
--- trunk/Source/_javascript_Core/runtime/RegExpPrototype.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/_javascript_Core/runtime/RegExpPrototype.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -81,8 +81,6 @@
JSC_BUILTIN_FUNCTION_WITHOUT_TRANSITION(vm.propertyNames->searchSymbol, regExpPrototypeSearchCodeGenerator, static_cast<unsigned>(PropertyAttribute::DontEnum));
JSC_BUILTIN_FUNCTION_WITHOUT_TRANSITION(vm.propertyNames->splitSymbol, regExpPrototypeSplitCodeGenerator, static_cast<unsigned>(PropertyAttribute::DontEnum));
JSC_BUILTIN_FUNCTION_WITHOUT_TRANSITION(vm.propertyNames->test, regExpPrototypeTestCodeGenerator, static_cast<unsigned>(PropertyAttribute::DontEnum));
-
- didBecomePrototype();
}
// ------------------------------ Functions ---------------------------
Modified: trunk/Source/_javascript_Core/runtime/StringPrototype.cpp (244712 => 244713)
--- trunk/Source/_javascript_Core/runtime/StringPrototype.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/_javascript_Core/runtime/StringPrototype.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -172,8 +172,6 @@
// The constructor will be added later, after StringConstructor has been built
putDirectWithoutTransition(vm, vm.propertyNames->length, jsNumber(0), PropertyAttribute::DontDelete | PropertyAttribute::ReadOnly | PropertyAttribute::DontEnum);
-
- didBecomePrototype();
}
StringPrototype* StringPrototype::create(VM& vm, JSGlobalObject* globalObject, Structure* structure)
Modified: trunk/Source/_javascript_Core/runtime/Structure.cpp (244712 => 244713)
--- trunk/Source/_javascript_Core/runtime/Structure.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/_javascript_Core/runtime/Structure.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -321,11 +321,6 @@
return result;
}
-bool Structure::isValidPrototype(JSValue prototype)
-{
- return prototype.isNull() || (prototype.isObject() && prototype.getObject()->mayBePrototype());
-}
-
void Structure::findStructuresAndMapForMaterialization(Vector<Structure*, 8>& structures, Structure*& structure, PropertyTable*& table)
{
ASSERT(structures.isEmpty());
@@ -549,7 +544,7 @@
Structure* Structure::changePrototypeTransition(VM& vm, Structure* structure, JSValue prototype, DeferredStructureTransitionWatchpointFire& deferred)
{
- ASSERT(isValidPrototype(prototype));
+ ASSERT(prototype.isObject() || prototype.isNull());
DeferGC deferGC(vm.heap);
Structure* transition = create(vm, structure, &deferred);
Modified: trunk/Source/_javascript_Core/runtime/Structure.h (244712 => 244713)
--- trunk/Source/_javascript_Core/runtime/Structure.h 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/_javascript_Core/runtime/Structure.h 2019-04-27 00:37:40 UTC (rev 244713)
@@ -142,7 +142,7 @@
void finishCreation(VM& vm)
{
Base::finishCreation(vm);
- ASSERT(m_prototype.get().isEmpty() || isValidPrototype(m_prototype.get()));
+ ASSERT(m_prototype.get().isEmpty() || m_prototype.isObject() || m_prototype.isNull());
}
void finishCreation(VM& vm, const Structure* previous)
@@ -680,8 +680,6 @@
void checkConsistency();
- JS_EXPORT_PRIVATE static bool isValidPrototype(JSValue);
-
// This may grab the lock, or not. Do not call when holding the Structure's lock.
PropertyTable* ensurePropertyTableIfNotEmpty(VM& vm)
{
Modified: trunk/Source/_javascript_Core/runtime/SymbolPrototype.cpp (244712 => 244713)
--- trunk/Source/_javascript_Core/runtime/SymbolPrototype.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/_javascript_Core/runtime/SymbolPrototype.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -67,8 +67,6 @@
JSFunction* toPrimitiveFunction = JSFunction::create(vm, globalObject, 1, "[Symbol.toPrimitive]"_s, symbolProtoFuncValueOf, NoIntrinsic);
putDirectWithoutTransition(vm, vm.propertyNames->toPrimitiveSymbol, toPrimitiveFunction, PropertyAttribute::DontEnum | PropertyAttribute::ReadOnly);
-
- didBecomePrototype();
}
// ------------------------------ Functions ---------------------------
Modified: trunk/Source/_javascript_Core/wasm/js/WebAssemblyCompileErrorPrototype.cpp (244712 => 244713)
--- trunk/Source/_javascript_Core/wasm/js/WebAssemblyCompileErrorPrototype.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/_javascript_Core/wasm/js/WebAssemblyCompileErrorPrototype.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -57,7 +57,6 @@
void WebAssemblyCompileErrorPrototype::finishCreation(VM& vm)
{
Base::finishCreation(vm);
- didBecomePrototype();
}
WebAssemblyCompileErrorPrototype::WebAssemblyCompileErrorPrototype(VM& vm, Structure* structure)
Modified: trunk/Source/_javascript_Core/wasm/js/WebAssemblyInstancePrototype.cpp (244712 => 244713)
--- trunk/Source/_javascript_Core/wasm/js/WebAssemblyInstancePrototype.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/_javascript_Core/wasm/js/WebAssemblyInstancePrototype.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -86,7 +86,6 @@
void WebAssemblyInstancePrototype::finishCreation(VM& vm)
{
Base::finishCreation(vm);
- didBecomePrototype();
}
WebAssemblyInstancePrototype::WebAssemblyInstancePrototype(VM& vm, Structure* structure)
Modified: trunk/Source/_javascript_Core/wasm/js/WebAssemblyLinkErrorPrototype.cpp (244712 => 244713)
--- trunk/Source/_javascript_Core/wasm/js/WebAssemblyLinkErrorPrototype.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/_javascript_Core/wasm/js/WebAssemblyLinkErrorPrototype.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -57,7 +57,6 @@
void WebAssemblyLinkErrorPrototype::finishCreation(VM& vm)
{
Base::finishCreation(vm);
- didBecomePrototype();
}
WebAssemblyLinkErrorPrototype::WebAssemblyLinkErrorPrototype(VM& vm, Structure* structure)
Modified: trunk/Source/_javascript_Core/wasm/js/WebAssemblyMemoryPrototype.cpp (244712 => 244713)
--- trunk/Source/_javascript_Core/wasm/js/WebAssemblyMemoryPrototype.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/_javascript_Core/wasm/js/WebAssemblyMemoryPrototype.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -109,7 +109,6 @@
{
Base::finishCreation(vm);
ASSERT(inherits(vm, info()));
- didBecomePrototype();
}
WebAssemblyMemoryPrototype::WebAssemblyMemoryPrototype(VM& vm, Structure* structure)
Modified: trunk/Source/_javascript_Core/wasm/js/WebAssemblyModulePrototype.cpp (244712 => 244713)
--- trunk/Source/_javascript_Core/wasm/js/WebAssemblyModulePrototype.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/_javascript_Core/wasm/js/WebAssemblyModulePrototype.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -56,7 +56,6 @@
void WebAssemblyModulePrototype::finishCreation(VM& vm)
{
Base::finishCreation(vm);
- didBecomePrototype();
}
WebAssemblyModulePrototype::WebAssemblyModulePrototype(VM& vm, Structure* structure)
Modified: trunk/Source/_javascript_Core/wasm/js/WebAssemblyPrototype.cpp (244712 => 244713)
--- trunk/Source/_javascript_Core/wasm/js/WebAssemblyPrototype.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/_javascript_Core/wasm/js/WebAssemblyPrototype.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -381,8 +381,6 @@
JSC_BUILTIN_FUNCTION_WITHOUT_TRANSITION("compileStreaming", webAssemblyPrototypeCompileStreamingCodeGenerator, static_cast<unsigned>(PropertyAttribute::DontEnum));
JSC_BUILTIN_FUNCTION_WITHOUT_TRANSITION("instantiateStreaming", webAssemblyPrototypeInstantiateStreamingCodeGenerator, static_cast<unsigned>(PropertyAttribute::DontEnum));
}
-
- didBecomePrototype();
}
WebAssemblyPrototype::WebAssemblyPrototype(VM& vm, Structure* structure)
Modified: trunk/Source/_javascript_Core/wasm/js/WebAssemblyRuntimeErrorPrototype.cpp (244712 => 244713)
--- trunk/Source/_javascript_Core/wasm/js/WebAssemblyRuntimeErrorPrototype.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/_javascript_Core/wasm/js/WebAssemblyRuntimeErrorPrototype.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -57,7 +57,6 @@
void WebAssemblyRuntimeErrorPrototype::finishCreation(VM& vm)
{
Base::finishCreation(vm);
- didBecomePrototype();
}
WebAssemblyRuntimeErrorPrototype::WebAssemblyRuntimeErrorPrototype(VM& vm, Structure* structure)
Modified: trunk/Source/_javascript_Core/wasm/js/WebAssemblyTablePrototype.cpp (244712 => 244713)
--- trunk/Source/_javascript_Core/wasm/js/WebAssemblyTablePrototype.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/_javascript_Core/wasm/js/WebAssemblyTablePrototype.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -164,7 +164,6 @@
{
Base::finishCreation(vm);
ASSERT(inherits(vm, info()));
- didBecomePrototype();
}
WebAssemblyTablePrototype::WebAssemblyTablePrototype(VM& vm, Structure* structure)
Modified: trunk/Source/WebCore/ChangeLog (244712 => 244713)
--- trunk/Source/WebCore/ChangeLog 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/ChangeLog 2019-04-27 00:37:40 UTC (rev 244713)
@@ -1,3 +1,16 @@
+2019-04-26 Commit Queue <commit-qu...@webkit.org>
+
+ Unreviewed, rolling out r244708.
+ https://bugs.webkit.org/show_bug.cgi?id=197334
+
+ "Broke the debug build" (Requested by rmorisset on #webkit).
+
+ Reverted changeset:
+
+ "All prototypes should call didBecomePrototype()"
+ https://bugs.webkit.org/show_bug.cgi?id=196315
+ https://trac.webkit.org/changeset/244708
+
2019-04-26 Robin Morisset <rmoris...@apple.com>
All prototypes should call didBecomePrototype()
Modified: trunk/Source/WebCore/bindings/js/JSWindowProxy.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/js/JSWindowProxy.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/js/JSWindowProxy.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -97,7 +97,6 @@
// FIXME: Why do we need to protect this when there's a pointer to it on the stack?
// Perhaps the issue is that structure objects aren't seen when scanning the stack?
Strong<JSNonFinalObject> prototype(vm, isRemoteDOMWindow ? static_cast<JSNonFinalObject*>(JSRemoteDOMWindowPrototype::create(vm, nullptr, &prototypeStructure)) : static_cast<JSNonFinalObject*>(JSDOMWindowPrototype::create(vm, nullptr, &prototypeStructure)));
- prototype->didBecomePrototype();
JSDOMGlobalObject* window = nullptr;
if (isRemoteDOMWindow) {
Modified: trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm 2019-04-27 00:37:40 UTC (rev 244713)
@@ -7070,7 +7070,6 @@
push(@$outputArray, " ${prototypeClassName}(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)\n");
push(@$outputArray, " : JSC::JSNonFinalObject(vm, structure)\n");
push(@$outputArray, " {\n");
- push(@$outputArray, " didBecomePrototype();\n");
push(@$outputArray, " }\n");
if (PrototypeHasStaticPropertyTable($interface)) {
@@ -7305,9 +7304,7 @@
if (!$generatingNamedConstructor and $interface->parentType) {
my $parentClassName = "JS" . $interface->parentType->name;
- push(@$outputArray, " auto result = ${parentClassName}::getConstructor(vm, &globalObject);\n");
- push(@$outputArray, " result.getObject()->didBecomePrototype();\n");
- push(@$outputArray, " return result;\n");
+ push(@$outputArray, " return ${parentClassName}::getConstructor(vm, &globalObject);\n");
} else {
AddToImplIncludes("<_javascript_Core/FunctionPrototype.h>");
push(@$outputArray, " UNUSED_PARAM(vm);\n");
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSInterfaceName.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSInterfaceName.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSInterfaceName.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -62,7 +62,6 @@
JSInterfaceNamePrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSMapLike.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSMapLike.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSMapLike.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -81,7 +81,6 @@
JSMapLikePrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSReadOnlyMapLike.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSReadOnlyMapLike.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSReadOnlyMapLike.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -78,7 +78,6 @@
JSReadOnlyMapLikePrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -75,7 +75,6 @@
JSTestActiveDOMObjectPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCEReactions.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCEReactions.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCEReactions.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -87,7 +87,6 @@
JSTestCEReactionsPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCEReactionsStringifier.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCEReactionsStringifier.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCEReactionsStringifier.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -74,7 +74,6 @@
JSTestCEReactionsStringifierPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCallTracer.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCallTracer.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCallTracer.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -92,7 +92,6 @@
JSTestCallTracerPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -63,7 +63,6 @@
JSTestClassWithJSBuiltinConstructorPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestDOMJIT.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestDOMJIT.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestDOMJIT.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -485,7 +485,6 @@
JSTestDOMJITPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
@@ -495,9 +494,7 @@
template<> JSValue JSTestDOMJITConstructor::prototypeForStructure(JSC::VM& vm, const JSDOMGlobalObject& globalObject)
{
- auto result = JSNode::getConstructor(vm, &globalObject);
- result.getObject()->didBecomePrototype();
- return result;
+ return JSNode::getConstructor(vm, &globalObject);
}
template<> void JSTestDOMJITConstructor::initializeProperties(VM& vm, JSDOMGlobalObject& globalObject)
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEnabledBySetting.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEnabledBySetting.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEnabledBySetting.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -84,7 +84,6 @@
JSTestEnabledBySettingPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -144,7 +144,6 @@
JSTestEventConstructorPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
@@ -171,9 +170,7 @@
template<> JSValue JSTestEventConstructorConstructor::prototypeForStructure(JSC::VM& vm, const JSDOMGlobalObject& globalObject)
{
- auto result = JSEvent::getConstructor(vm, &globalObject);
- result.getObject()->didBecomePrototype();
- return result;
+ return JSEvent::getConstructor(vm, &globalObject);
}
template<> void JSTestEventConstructorConstructor::initializeProperties(VM& vm, JSDOMGlobalObject& globalObject)
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -72,7 +72,6 @@
JSTestEventTargetPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
@@ -82,9 +81,7 @@
template<> JSValue JSTestEventTargetConstructor::prototypeForStructure(JSC::VM& vm, const JSDOMGlobalObject& globalObject)
{
- auto result = JSEventTarget::getConstructor(vm, &globalObject);
- result.getObject()->didBecomePrototype();
- return result;
+ return JSEventTarget::getConstructor(vm, &globalObject);
}
template<> void JSTestEventTargetConstructor::initializeProperties(VM& vm, JSDOMGlobalObject& globalObject)
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -65,7 +65,6 @@
JSTestExceptionPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -65,7 +65,6 @@
JSTestGenerateIsReachablePrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGlobalObject.h (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGlobalObject.h 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGlobalObject.h 2019-04-27 00:37:40 UTC (rev 244713)
@@ -102,7 +102,6 @@
JSTestGlobalObjectPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
public:
static const unsigned StructureFlags = Base::StructureFlags | JSC::HasStaticPropertyTable;
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterNoIdentifier.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterNoIdentifier.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterNoIdentifier.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -64,7 +64,6 @@
JSTestIndexedSetterNoIdentifierPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterThrowingException.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterThrowingException.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterThrowingException.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -64,7 +64,6 @@
JSTestIndexedSetterThrowingExceptionPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterWithIdentifier.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterWithIdentifier.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterWithIdentifier.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -70,7 +70,6 @@
JSTestIndexedSetterWithIdentifierPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -168,7 +168,6 @@
JSTestInterfacePrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterfaceLeadingUnderscore.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterfaceLeadingUnderscore.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterfaceLeadingUnderscore.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -65,7 +65,6 @@
JSTestInterfaceLeadingUnderscorePrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestIterable.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestIterable.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestIterable.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -73,7 +73,6 @@
JSTestIterablePrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestJSBuiltinConstructor.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestJSBuiltinConstructor.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestJSBuiltinConstructor.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -69,7 +69,6 @@
JSTestJSBuiltinConstructorPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -70,7 +70,6 @@
JSTestMediaQueryListListenerPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterNoIdentifier.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterNoIdentifier.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterNoIdentifier.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -65,7 +65,6 @@
JSTestNamedAndIndexedSetterNoIdentifierPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterThrowingException.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterThrowingException.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterThrowingException.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -65,7 +65,6 @@
JSTestNamedAndIndexedSetterThrowingExceptionPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterWithIdentifier.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterWithIdentifier.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterWithIdentifier.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -72,7 +72,6 @@
JSTestNamedAndIndexedSetterWithIdentifierPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -65,7 +65,6 @@
JSTestNamedConstructorPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterNoIdentifier.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterNoIdentifier.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterNoIdentifier.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -64,7 +64,6 @@
JSTestNamedDeleterNoIdentifierPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterThrowingException.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterThrowingException.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterThrowingException.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -64,7 +64,6 @@
JSTestNamedDeleterThrowingExceptionPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterWithIdentifier.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterWithIdentifier.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterWithIdentifier.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -69,7 +69,6 @@
JSTestNamedDeleterWithIdentifierPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterWithIndexedGetter.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterWithIndexedGetter.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterWithIndexedGetter.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -65,7 +65,6 @@
JSTestNamedDeleterWithIndexedGetterPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterCallWith.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterCallWith.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterCallWith.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -64,7 +64,6 @@
JSTestNamedGetterCallWithPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterNoIdentifier.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterNoIdentifier.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterNoIdentifier.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -64,7 +64,6 @@
JSTestNamedGetterNoIdentifierPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterWithIdentifier.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterWithIdentifier.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterWithIdentifier.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -69,7 +69,6 @@
JSTestNamedGetterWithIdentifierPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterNoIdentifier.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterNoIdentifier.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterNoIdentifier.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -64,7 +64,6 @@
JSTestNamedSetterNoIdentifierPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterThrowingException.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterThrowingException.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterThrowingException.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -64,7 +64,6 @@
JSTestNamedSetterThrowingExceptionPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIdentifier.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIdentifier.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIdentifier.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -69,7 +69,6 @@
JSTestNamedSetterWithIdentifierPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetter.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetter.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetter.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -72,7 +72,6 @@
JSTestNamedSetterWithIndexedGetterPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetterAndSetter.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetterAndSetter.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetterAndSetter.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -72,7 +72,6 @@
JSTestNamedSetterWithIndexedGetterAndSetterPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithOverrideBuiltins.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithOverrideBuiltins.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithOverrideBuiltins.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -64,7 +64,6 @@
JSTestNamedSetterWithOverrideBuiltinsPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithUnforgableProperties.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithUnforgableProperties.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithUnforgableProperties.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -71,7 +71,6 @@
JSTestNamedSetterWithUnforgablePropertiesPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithUnforgablePropertiesAndOverrideBuiltins.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithUnforgablePropertiesAndOverrideBuiltins.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithUnforgablePropertiesAndOverrideBuiltins.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -71,7 +71,6 @@
JSTestNamedSetterWithUnforgablePropertiesAndOverrideBuiltinsPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNode.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNode.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNode.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -88,7 +88,6 @@
JSTestNodePrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
@@ -109,9 +108,7 @@
template<> JSValue JSTestNodeConstructor::prototypeForStructure(JSC::VM& vm, const JSDOMGlobalObject& globalObject)
{
- auto result = JSNode::getConstructor(vm, &globalObject);
- result.getObject()->didBecomePrototype();
- return result;
+ return JSNode::getConstructor(vm, &globalObject);
}
template<> void JSTestNodeConstructor::initializeProperties(VM& vm, JSDOMGlobalObject& globalObject)
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -1819,7 +1819,6 @@
JSTestObjPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -68,7 +68,6 @@
JSTestOverloadedConstructorsPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructorsWithSequence.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructorsWithSequence.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructorsWithSequence.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -67,7 +67,6 @@
JSTestOverloadedConstructorsWithSequencePrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -72,7 +72,6 @@
JSTestOverrideBuiltinsPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestPluginInterface.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestPluginInterface.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestPluginInterface.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -63,7 +63,6 @@
JSTestPluginInterfacePrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestPromiseRejectionEvent.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestPromiseRejectionEvent.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestPromiseRejectionEvent.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -147,7 +147,6 @@
JSTestPromiseRejectionEventPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
@@ -175,9 +174,7 @@
template<> JSValue JSTestPromiseRejectionEventConstructor::prototypeForStructure(JSC::VM& vm, const JSDOMGlobalObject& globalObject)
{
- auto result = JSEvent::getConstructor(vm, &globalObject);
- result.getObject()->didBecomePrototype();
- return result;
+ return JSEvent::getConstructor(vm, &globalObject);
}
template<> void JSTestPromiseRejectionEventConstructor::initializeProperties(VM& vm, JSDOMGlobalObject& globalObject)
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerialization.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerialization.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerialization.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -104,7 +104,6 @@
JSTestSerializationPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializationIndirectInheritance.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializationIndirectInheritance.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializationIndirectInheritance.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -61,7 +61,6 @@
JSTestSerializationIndirectInheritancePrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
@@ -71,9 +70,7 @@
template<> JSValue JSTestSerializationIndirectInheritanceConstructor::prototypeForStructure(JSC::VM& vm, const JSDOMGlobalObject& globalObject)
{
- auto result = JSTestSerializationInherit::getConstructor(vm, &globalObject);
- result.getObject()->didBecomePrototype();
- return result;
+ return JSTestSerializationInherit::getConstructor(vm, &globalObject);
}
template<> void JSTestSerializationIndirectInheritanceConstructor::initializeProperties(VM& vm, JSDOMGlobalObject& globalObject)
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializationInherit.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializationInherit.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializationInherit.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -71,7 +71,6 @@
JSTestSerializationInheritPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
@@ -81,9 +80,7 @@
template<> JSValue JSTestSerializationInheritConstructor::prototypeForStructure(JSC::VM& vm, const JSDOMGlobalObject& globalObject)
{
- auto result = JSTestSerialization::getConstructor(vm, &globalObject);
- result.getObject()->didBecomePrototype();
- return result;
+ return JSTestSerialization::getConstructor(vm, &globalObject);
}
template<> void JSTestSerializationInheritConstructor::initializeProperties(VM& vm, JSDOMGlobalObject& globalObject)
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializationInheritFinal.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializationInheritFinal.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializationInheritFinal.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -73,7 +73,6 @@
JSTestSerializationInheritFinalPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
@@ -83,9 +82,7 @@
template<> JSValue JSTestSerializationInheritFinalConstructor::prototypeForStructure(JSC::VM& vm, const JSDOMGlobalObject& globalObject)
{
- auto result = JSTestSerializationInherit::getConstructor(vm, &globalObject);
- result.getObject()->didBecomePrototype();
- return result;
+ return JSTestSerializationInherit::getConstructor(vm, &globalObject);
}
template<> void JSTestSerializationInheritFinalConstructor::initializeProperties(VM& vm, JSDOMGlobalObject& globalObject)
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -86,7 +86,6 @@
JSTestSerializedScriptValueInterfacePrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifier.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifier.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifier.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -68,7 +68,6 @@
JSTestStringifierPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierAnonymousOperation.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierAnonymousOperation.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierAnonymousOperation.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -68,7 +68,6 @@
JSTestStringifierAnonymousOperationPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierNamedOperation.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierNamedOperation.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierNamedOperation.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -69,7 +69,6 @@
JSTestStringifierNamedOperationPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierOperationImplementedAs.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierOperationImplementedAs.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierOperationImplementedAs.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -69,7 +69,6 @@
JSTestStringifierOperationImplementedAsPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierOperationNamedToString.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierOperationNamedToString.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierOperationNamedToString.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -68,7 +68,6 @@
JSTestStringifierOperationNamedToStringPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierReadOnlyAttribute.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierReadOnlyAttribute.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierReadOnlyAttribute.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -70,7 +70,6 @@
JSTestStringifierReadOnlyAttributePrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierReadWriteAttribute.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierReadWriteAttribute.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierReadWriteAttribute.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -71,7 +71,6 @@
JSTestStringifierReadWriteAttributePrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp (244712 => 244713)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp 2019-04-27 00:06:38 UTC (rev 244712)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp 2019-04-27 00:37:40 UTC (rev 244713)
@@ -114,7 +114,6 @@
JSTestTypedefsPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
- didBecomePrototype();
}
void finishCreation(JSC::VM&);