WebKit Bugzilla
Attachment 368370 Details for
Bug 197334
: REGRESSION(r244708): "Broke the debug build" (Requested by rmorisset on #webkit).
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
ROLLOUT of r244708
bug-197334-20190426173252.patch (text/plain), 75.66 KB, created by
WebKit Commit Bot
on 2019-04-26 17:32:52 PDT
(
hide
)
Description:
ROLLOUT of r244708
Filename:
MIME Type:
Creator:
WebKit Commit Bot
Created:
2019-04-26 17:32:52 PDT
Size:
75.66 KB
patch
obsolete
>Subversion Revision: 244712 >diff --git a/Source/JavaScriptCore/ChangeLog b/Source/JavaScriptCore/ChangeLog >index 8a06f6029bbd82d822cf66e6005ddec834a8447b..338ba4f214a42992c5fa0609e9ef674824763fd4 100644 >--- a/Source/JavaScriptCore/ChangeLog >+++ b/Source/JavaScriptCore/ChangeLog >@@ -1,3 +1,16 @@ >+2019-04-26 Commit Queue <commit-queue@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.olmstead@sony.com> > > [CMake] Add WEBKIT_EXECUTABLE macro >diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog >index 9964d1ee8c23af6a8d7a9eb130f635df5008fd63..58ac5beecb417e15e6399ab7dd4623746c3dec10 100644 >--- a/Source/WebCore/ChangeLog >+++ b/Source/WebCore/ChangeLog >@@ -1,3 +1,16 @@ >+2019-04-26 Commit Queue <commit-queue@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 <rmorisset@apple.com> > > All prototypes should call didBecomePrototype() >diff --git a/Source/JavaScriptCore/runtime/BigIntPrototype.cpp b/Source/JavaScriptCore/runtime/BigIntPrototype.cpp >index fc5d477375acee71829664d523fcaf2967cf44b2..215c09504d8c17458582a5cf76f1b966a691429a 100644 >--- a/Source/JavaScriptCore/runtime/BigIntPrototype.cpp >+++ b/Source/JavaScriptCore/runtime/BigIntPrototype.cpp >@@ -73,7 +73,6 @@ void BigIntPrototype::finishCreation(VM& vm, JSGlobalObject*) > Base::finishCreation(vm); > ASSERT(inherits(vm, info())); > putDirectWithoutTransition(vm, vm.propertyNames->toStringTagSymbol, jsString(&vm, "BigInt"), PropertyAttribute::DontEnum | PropertyAttribute::ReadOnly); >- didBecomePrototype(); > } > > // ------------------------------ Functions --------------------------- >diff --git a/Source/JavaScriptCore/runtime/BooleanPrototype.cpp b/Source/JavaScriptCore/runtime/BooleanPrototype.cpp >index f02fa9e780cba055444c9f5b6f6bc458aec93c1f..06f9fd30ad5278980a5312847d36af056c1279c6 100644 >--- a/Source/JavaScriptCore/runtime/BooleanPrototype.cpp >+++ b/Source/JavaScriptCore/runtime/BooleanPrototype.cpp >@@ -59,7 +59,6 @@ void BooleanPrototype::finishCreation(VM& vm, JSGlobalObject*) > { > Base::finishCreation(vm); > setInternalValue(vm, jsBoolean(false)); >- didBecomePrototype(); > > ASSERT(inherits(vm, info())); > } >diff --git a/Source/JavaScriptCore/runtime/DatePrototype.cpp b/Source/JavaScriptCore/runtime/DatePrototype.cpp >index 0fe696d9e58301a2824799be82be4421328873fe..fbd09756de27b12bdc9f32918b767b4fa8cea54f 100644 >--- a/Source/JavaScriptCore/runtime/DatePrototype.cpp >+++ b/Source/JavaScriptCore/runtime/DatePrototype.cpp >@@ -515,7 +515,6 @@ void DatePrototype::finishCreation(VM& vm, JSGlobalObject* globalObject) > > 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. > } >diff --git a/Source/JavaScriptCore/runtime/ErrorConstructor.cpp b/Source/JavaScriptCore/runtime/ErrorConstructor.cpp >index c8f621b2d578a65f4eadc7aec19f18c959e88a44..da69116b4646657c887cb5d289c542e8782f0bee 100644 >--- a/Source/JavaScriptCore/runtime/ErrorConstructor.cpp >+++ b/Source/JavaScriptCore/runtime/ErrorConstructor.cpp >@@ -48,7 +48,6 @@ void ErrorConstructor::finishCreation(VM& vm, ErrorPrototype* errorPrototype) > 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 >diff --git a/Source/JavaScriptCore/runtime/ErrorPrototype.cpp b/Source/JavaScriptCore/runtime/ErrorPrototype.cpp >index a19f8668d20d4c06ed9c5d576a444fc6031f39b6..713c738e07b401597b42ee8a7b709e2954314382 100644 >--- a/Source/JavaScriptCore/runtime/ErrorPrototype.cpp >+++ b/Source/JavaScriptCore/runtime/ErrorPrototype.cpp >@@ -66,7 +66,6 @@ void ErrorPrototype::finishCreation(VM& vm, const String& name) > 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 --------------------------- >diff --git a/Source/JavaScriptCore/runtime/FunctionConstructor.cpp b/Source/JavaScriptCore/runtime/FunctionConstructor.cpp >index c2eb11c46b8077bcb09d469b6442e2e138b4b6cb..a2c0ad9c393375859f420452e77f8cea6abc73fa 100644 >--- a/Source/JavaScriptCore/runtime/FunctionConstructor.cpp >+++ b/Source/JavaScriptCore/runtime/FunctionConstructor.cpp >@@ -61,7 +61,6 @@ void FunctionConstructor::finishCreation(VM& vm, FunctionPrototype* functionProt > 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 >diff --git a/Source/JavaScriptCore/runtime/FunctionPrototype.cpp b/Source/JavaScriptCore/runtime/FunctionPrototype.cpp >index 8a0d5c4af232f305c97f880d11288ceb77a4e302..2cec7d677171c2e16f215783eed5bc927437fba1 100644 >--- a/Source/JavaScriptCore/runtime/FunctionPrototype.cpp >+++ b/Source/JavaScriptCore/runtime/FunctionPrototype.cpp >@@ -54,7 +54,6 @@ void FunctionPrototype::finishCreation(VM& vm, const String& name) > { > 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) >diff --git a/Source/JavaScriptCore/runtime/IntlCollatorPrototype.cpp b/Source/JavaScriptCore/runtime/IntlCollatorPrototype.cpp >index c9192db69ef13e7915e2e8ee2caf50cfa8374955..35269d0b514748ca939742ecfc0188e869e887b3 100644 >--- a/Source/JavaScriptCore/runtime/IntlCollatorPrototype.cpp >+++ b/Source/JavaScriptCore/runtime/IntlCollatorPrototype.cpp >@@ -76,7 +76,6 @@ void IntlCollatorPrototype::finishCreation(VM& vm) > Base::finishCreation(vm); > > putDirectWithoutTransition(vm, vm.propertyNames->toStringTagSymbol, jsString(&vm, "Object"), PropertyAttribute::DontEnum | PropertyAttribute::ReadOnly); >- didBecomePrototype(); > } > > static EncodedJSValue JSC_HOST_CALL IntlCollatorFuncCompare(ExecState* state) >diff --git a/Source/JavaScriptCore/runtime/IntlDateTimeFormatPrototype.cpp b/Source/JavaScriptCore/runtime/IntlDateTimeFormatPrototype.cpp >index 760f5b62f2ecb2e39c0764c15da4fd13baf26542..1e4d7604c5dfa77e76ce3bb2aa2332a9d08f6c4e 100644 >--- a/Source/JavaScriptCore/runtime/IntlDateTimeFormatPrototype.cpp >+++ b/Source/JavaScriptCore/runtime/IntlDateTimeFormatPrototype.cpp >@@ -90,7 +90,6 @@ void IntlDateTimeFormatPrototype::finishCreation(VM& vm, JSGlobalObject* globalO > #endif > > putDirectWithoutTransition(vm, vm.propertyNames->toStringTagSymbol, jsString(&vm, "Object"), PropertyAttribute::DontEnum | PropertyAttribute::ReadOnly); >- didBecomePrototype(); > } > > static EncodedJSValue JSC_HOST_CALL IntlDateTimeFormatFuncFormatDateTime(ExecState* state) >diff --git a/Source/JavaScriptCore/runtime/IntlNumberFormatPrototype.cpp b/Source/JavaScriptCore/runtime/IntlNumberFormatPrototype.cpp >index 039807258c7d5b786ed22cc67c69fe8e49ddc747..679fe68cc7f3f9d6167a42ce5dc6287a61798132 100644 >--- a/Source/JavaScriptCore/runtime/IntlNumberFormatPrototype.cpp >+++ b/Source/JavaScriptCore/runtime/IntlNumberFormatPrototype.cpp >@@ -88,7 +88,6 @@ void IntlNumberFormatPrototype::finishCreation(VM& vm, JSGlobalObject* globalObj > #endif > > putDirectWithoutTransition(vm, vm.propertyNames->toStringTagSymbol, jsString(&vm, "Object"), PropertyAttribute::DontEnum | PropertyAttribute::ReadOnly); >- didBecomePrototype(); > } > > static EncodedJSValue JSC_HOST_CALL IntlNumberFormatFuncFormatNumber(ExecState* state) >diff --git a/Source/JavaScriptCore/runtime/IntlPluralRulesPrototype.cpp b/Source/JavaScriptCore/runtime/IntlPluralRulesPrototype.cpp >index 39cdd4cc22e60755958888ec125a7639f284d58c..92a4367ef318462c0ae00a0496d29ed522faa14e 100644 >--- a/Source/JavaScriptCore/runtime/IntlPluralRulesPrototype.cpp >+++ b/Source/JavaScriptCore/runtime/IntlPluralRulesPrototype.cpp >@@ -75,7 +75,6 @@ void IntlPluralRulesPrototype::finishCreation(VM& vm, Structure*) > Base::finishCreation(vm); > > putDirectWithoutTransition(vm, vm.propertyNames->toStringTagSymbol, jsString(&vm, "Object"), PropertyAttribute::DontEnum | PropertyAttribute::ReadOnly); >- didBecomePrototype(); > } > > EncodedJSValue JSC_HOST_CALL IntlPluralRulesPrototypeFuncSelect(ExecState* state) >diff --git a/Source/JavaScriptCore/runtime/JSArrayBufferPrototype.cpp b/Source/JavaScriptCore/runtime/JSArrayBufferPrototype.cpp >index 02147fe514dffcd91db38942c1c4139cadf0b761..bd13325833ed9901811a2d3a6f43bdc18afae51f 100644 >--- a/Source/JavaScriptCore/runtime/JSArrayBufferPrototype.cpp >+++ b/Source/JavaScriptCore/runtime/JSArrayBufferPrototype.cpp >@@ -121,7 +121,6 @@ void JSArrayBufferPrototype::finishCreation(VM& vm, JSGlobalObject* globalObject > 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) >diff --git a/Source/JavaScriptCore/runtime/JSDataViewPrototype.cpp b/Source/JavaScriptCore/runtime/JSDataViewPrototype.cpp >index 53a83cad05421229b5b871b9140b301d182c14ea..df2f6764e103f0c2094b6d0a36e9e5f171caacde 100644 >--- a/Source/JavaScriptCore/runtime/JSDataViewPrototype.cpp >+++ b/Source/JavaScriptCore/runtime/JSDataViewPrototype.cpp >@@ -110,7 +110,6 @@ void JSDataViewPrototype::finishCreation(JSC::VM& vm) > { > Base::finishCreation(vm); > putDirectWithoutTransition(vm, vm.propertyNames->toStringTagSymbol, jsString(&vm, "DataView"), PropertyAttribute::DontEnum | PropertyAttribute::ReadOnly); >- didBecomePrototype(); > } > > Structure* JSDataViewPrototype::createStructure( >diff --git a/Source/JavaScriptCore/runtime/JSGenericTypedArrayViewPrototypeInlines.h b/Source/JavaScriptCore/runtime/JSGenericTypedArrayViewPrototypeInlines.h >index 2d20fb4ee51d11470ccad45504270e770534b462..76aaaabc0ce2afd998e5a0e6d6fa61c87372bcc7 100644 >--- a/Source/JavaScriptCore/runtime/JSGenericTypedArrayViewPrototypeInlines.h >+++ b/Source/JavaScriptCore/runtime/JSGenericTypedArrayViewPrototypeInlines.h >@@ -45,7 +45,6 @@ void JSGenericTypedArrayViewPrototype<ViewClass>::finishCreation( > > putDirect(vm, vm.propertyNames->BYTES_PER_ELEMENT, jsNumber(ViewClass::elementSize), PropertyAttribute::DontEnum | PropertyAttribute::ReadOnly | PropertyAttribute::DontDelete); > >- didBecomePrototype(); > } > > template<typename ViewClass> >diff --git a/Source/JavaScriptCore/runtime/JSGlobalObject.cpp b/Source/JavaScriptCore/runtime/JSGlobalObject.cpp >index c0450aca37137f17a5b13f51243478a73c8450da..64d468e83f49787c1043bad47437769b0b8b70aa 100644 >--- a/Source/JavaScriptCore/runtime/JSGlobalObject.cpp >+++ b/Source/JavaScriptCore/runtime/JSGlobalObject.cpp >@@ -232,9 +232,7 @@ static JSValue createReflectProperty(VM& vm, JSObject* object) > 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) >diff --git a/Source/JavaScriptCore/runtime/JSPromisePrototype.cpp b/Source/JavaScriptCore/runtime/JSPromisePrototype.cpp >index ddca7c79d843fdccf264fc1aa830f470b5929934..3a2d5696608b436d2da6e76cce2b086d486572cf 100644 >--- a/Source/JavaScriptCore/runtime/JSPromisePrototype.cpp >+++ b/Source/JavaScriptCore/runtime/JSPromisePrototype.cpp >@@ -77,7 +77,6 @@ void JSPromisePrototype::finishCreation(VM& vm, Structure*) > { > Base::finishCreation(vm); > putDirectWithoutTransition(vm, vm.propertyNames->toStringTagSymbol, jsString(&vm, "Promise"), PropertyAttribute::DontEnum | PropertyAttribute::ReadOnly); >- didBecomePrototype(); > } > > void JSPromisePrototype::addOwnInternalSlots(VM& vm, JSGlobalObject* globalObject) >diff --git a/Source/JavaScriptCore/runtime/JSTypedArrayViewConstructor.cpp b/Source/JavaScriptCore/runtime/JSTypedArrayViewConstructor.cpp >index fe647b618faa4e754c95edbe63e330ff905a0fa4..dd1124599a120ccf7a29eddba368f6547f3de500 100644 >--- a/Source/JavaScriptCore/runtime/JSTypedArrayViewConstructor.cpp >+++ b/Source/JavaScriptCore/runtime/JSTypedArrayViewConstructor.cpp >@@ -55,8 +55,6 @@ void JSTypedArrayViewConstructor::finishCreation(VM& vm, JSGlobalObject* globalO > > 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( >diff --git a/Source/JavaScriptCore/runtime/JSTypedArrayViewPrototype.cpp b/Source/JavaScriptCore/runtime/JSTypedArrayViewPrototype.cpp >index a6ae196b7e7834733295dd7a7ec9be32ac95e204..ac16dc937c307c12df6861cd9c70b292b1d41f83 100644 >--- a/Source/JavaScriptCore/runtime/JSTypedArrayViewPrototype.cpp >+++ b/Source/JavaScriptCore/runtime/JSTypedArrayViewPrototype.cpp >@@ -334,7 +334,6 @@ void JSTypedArrayViewPrototype::finishCreation(VM& vm, JSGlobalObject* globalObj > 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( >diff --git a/Source/JavaScriptCore/runtime/NumberPrototype.cpp b/Source/JavaScriptCore/runtime/NumberPrototype.cpp >index 7e8d56112e9db7d08d57b88da1b3ec20c229508d..ab3afd003bb36f0c1d6aed63acdc356647c729c6 100644 >--- a/Source/JavaScriptCore/runtime/NumberPrototype.cpp >+++ b/Source/JavaScriptCore/runtime/NumberPrototype.cpp >@@ -82,7 +82,6 @@ void NumberPrototype::finishCreation(VM& vm, JSGlobalObject* globalObject) > > JSC_NATIVE_INTRINSIC_FUNCTION_WITHOUT_TRANSITION(vm.propertyNames->toString, numberProtoFuncToString, static_cast<unsigned>(PropertyAttribute::DontEnum), 1, NumberPrototypeToStringIntrinsic); > ASSERT(inherits(vm, info())); >- didBecomePrototype(); > } > > // ------------------------------ Functions --------------------------- >diff --git a/Source/JavaScriptCore/runtime/RegExpPrototype.cpp b/Source/JavaScriptCore/runtime/RegExpPrototype.cpp >index 48653ff9f61dad0747d374a7b09a1c8e46336ef4..5cc819d33f1cff020311c2cdb7fe94de5f9fe86b 100644 >--- a/Source/JavaScriptCore/runtime/RegExpPrototype.cpp >+++ b/Source/JavaScriptCore/runtime/RegExpPrototype.cpp >@@ -81,8 +81,6 @@ void RegExpPrototype::finishCreation(VM& vm, JSGlobalObject* globalObject) > 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 --------------------------- >diff --git a/Source/JavaScriptCore/runtime/StringPrototype.cpp b/Source/JavaScriptCore/runtime/StringPrototype.cpp >index b724021453d2028add63899e422524eb51fc20b0..348bf0daf5d0d8d10329cfb90fd048c218a2b3e9 100644 >--- a/Source/JavaScriptCore/runtime/StringPrototype.cpp >+++ b/Source/JavaScriptCore/runtime/StringPrototype.cpp >@@ -172,8 +172,6 @@ void StringPrototype::finishCreation(VM& vm, JSGlobalObject* globalObject, JSStr > > // 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) >diff --git a/Source/JavaScriptCore/runtime/Structure.cpp b/Source/JavaScriptCore/runtime/Structure.cpp >index 293c46472e748941ca9cc2adac16a3d2dc5deeec..ff38bb987bf3b645136f428e9cae33f1b5729f4c 100644 >--- a/Source/JavaScriptCore/runtime/Structure.cpp >+++ b/Source/JavaScriptCore/runtime/Structure.cpp >@@ -321,11 +321,6 @@ Structure* Structure::create(PolyProtoTag, VM& vm, JSGlobalObject* globalObject, > 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::removePropertyTransition(VM& vm, Structure* structure, Pro > > 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); >diff --git a/Source/JavaScriptCore/runtime/Structure.h b/Source/JavaScriptCore/runtime/Structure.h >index dd45a8594002b44c531f65e23e91d6a5554bd8a0..4b0d031d44038dcb2e90bb760c51c41d4a7f1088 100644 >--- a/Source/JavaScriptCore/runtime/Structure.h >+++ b/Source/JavaScriptCore/runtime/Structure.h >@@ -142,7 +142,7 @@ protected: > 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 @@ private: > > 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) > { >diff --git a/Source/JavaScriptCore/runtime/SymbolPrototype.cpp b/Source/JavaScriptCore/runtime/SymbolPrototype.cpp >index 644a08a6e3894ba12e58aef7c77e3ab2f1cbc38f..cb9994595b4c971ddf42b84bc1aba1e4a18f960e 100644 >--- a/Source/JavaScriptCore/runtime/SymbolPrototype.cpp >+++ b/Source/JavaScriptCore/runtime/SymbolPrototype.cpp >@@ -67,8 +67,6 @@ void SymbolPrototype::finishCreation(VM& vm, JSGlobalObject* globalObject) > > JSFunction* toPrimitiveFunction = JSFunction::create(vm, globalObject, 1, "[Symbol.toPrimitive]"_s, symbolProtoFuncValueOf, NoIntrinsic); > putDirectWithoutTransition(vm, vm.propertyNames->toPrimitiveSymbol, toPrimitiveFunction, PropertyAttribute::DontEnum | PropertyAttribute::ReadOnly); >- >- didBecomePrototype(); > } > > // ------------------------------ Functions --------------------------- >diff --git a/Source/JavaScriptCore/wasm/js/WebAssemblyCompileErrorPrototype.cpp b/Source/JavaScriptCore/wasm/js/WebAssemblyCompileErrorPrototype.cpp >index ebdfc0726007665c3ffe79237e173231a74bf5d3..9289202b961c5685f4ffa72c6e834fd59dbf3a80 100644 >--- a/Source/JavaScriptCore/wasm/js/WebAssemblyCompileErrorPrototype.cpp >+++ b/Source/JavaScriptCore/wasm/js/WebAssemblyCompileErrorPrototype.cpp >@@ -57,7 +57,6 @@ Structure* WebAssemblyCompileErrorPrototype::createStructure(VM& vm, JSGlobalObj > void WebAssemblyCompileErrorPrototype::finishCreation(VM& vm) > { > Base::finishCreation(vm); >- didBecomePrototype(); > } > > WebAssemblyCompileErrorPrototype::WebAssemblyCompileErrorPrototype(VM& vm, Structure* structure) >diff --git a/Source/JavaScriptCore/wasm/js/WebAssemblyInstancePrototype.cpp b/Source/JavaScriptCore/wasm/js/WebAssemblyInstancePrototype.cpp >index 991288cd38dafcc93f94b61de2fb8347357f9d44..10c2fec5c34e1e0d02769b497341d68f9bc78a41 100644 >--- a/Source/JavaScriptCore/wasm/js/WebAssemblyInstancePrototype.cpp >+++ b/Source/JavaScriptCore/wasm/js/WebAssemblyInstancePrototype.cpp >@@ -86,7 +86,6 @@ Structure* WebAssemblyInstancePrototype::createStructure(VM& vm, JSGlobalObject* > void WebAssemblyInstancePrototype::finishCreation(VM& vm) > { > Base::finishCreation(vm); >- didBecomePrototype(); > } > > WebAssemblyInstancePrototype::WebAssemblyInstancePrototype(VM& vm, Structure* structure) >diff --git a/Source/JavaScriptCore/wasm/js/WebAssemblyLinkErrorPrototype.cpp b/Source/JavaScriptCore/wasm/js/WebAssemblyLinkErrorPrototype.cpp >index d35b78fb25115004b3ab7e1f99a6d938800f0557..a205a58227d167016380540bc3af0c9a9f1a04c1 100644 >--- a/Source/JavaScriptCore/wasm/js/WebAssemblyLinkErrorPrototype.cpp >+++ b/Source/JavaScriptCore/wasm/js/WebAssemblyLinkErrorPrototype.cpp >@@ -57,7 +57,6 @@ Structure* WebAssemblyLinkErrorPrototype::createStructure(VM& vm, JSGlobalObject > void WebAssemblyLinkErrorPrototype::finishCreation(VM& vm) > { > Base::finishCreation(vm); >- didBecomePrototype(); > } > > WebAssemblyLinkErrorPrototype::WebAssemblyLinkErrorPrototype(VM& vm, Structure* structure) >diff --git a/Source/JavaScriptCore/wasm/js/WebAssemblyMemoryPrototype.cpp b/Source/JavaScriptCore/wasm/js/WebAssemblyMemoryPrototype.cpp >index cbf6403f0a80bb6a29969af6154cd060c789d9ce..082b08d7c333aa038e3d6729cc53972f0e06038d 100644 >--- a/Source/JavaScriptCore/wasm/js/WebAssemblyMemoryPrototype.cpp >+++ b/Source/JavaScriptCore/wasm/js/WebAssemblyMemoryPrototype.cpp >@@ -109,7 +109,6 @@ void WebAssemblyMemoryPrototype::finishCreation(VM& vm) > { > Base::finishCreation(vm); > ASSERT(inherits(vm, info())); >- didBecomePrototype(); > } > > WebAssemblyMemoryPrototype::WebAssemblyMemoryPrototype(VM& vm, Structure* structure) >diff --git a/Source/JavaScriptCore/wasm/js/WebAssemblyModulePrototype.cpp b/Source/JavaScriptCore/wasm/js/WebAssemblyModulePrototype.cpp >index 68a6b8ab41ba894abbe438d35cf1ed57215a213d..94d615856749b34b079d353bd8a221ab93eb75ef 100644 >--- a/Source/JavaScriptCore/wasm/js/WebAssemblyModulePrototype.cpp >+++ b/Source/JavaScriptCore/wasm/js/WebAssemblyModulePrototype.cpp >@@ -56,7 +56,6 @@ Structure* WebAssemblyModulePrototype::createStructure(VM& vm, JSGlobalObject* g > void WebAssemblyModulePrototype::finishCreation(VM& vm) > { > Base::finishCreation(vm); >- didBecomePrototype(); > } > > WebAssemblyModulePrototype::WebAssemblyModulePrototype(VM& vm, Structure* structure) >diff --git a/Source/JavaScriptCore/wasm/js/WebAssemblyPrototype.cpp b/Source/JavaScriptCore/wasm/js/WebAssemblyPrototype.cpp >index 838e7bcd9ee09dd4a68be61bdd8e279a03ce1ea3..20c34b2aae85c8d63e3eab047989329d304f1c3a 100644 >--- a/Source/JavaScriptCore/wasm/js/WebAssemblyPrototype.cpp >+++ b/Source/JavaScriptCore/wasm/js/WebAssemblyPrototype.cpp >@@ -381,8 +381,6 @@ void WebAssemblyPrototype::finishCreation(VM& vm, JSGlobalObject* globalObject) > 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) >diff --git a/Source/JavaScriptCore/wasm/js/WebAssemblyRuntimeErrorPrototype.cpp b/Source/JavaScriptCore/wasm/js/WebAssemblyRuntimeErrorPrototype.cpp >index dc10a27556bb37322ab72915a66d71817ed210d8..4211965c71cc2d0f25641b564b5f480b92541798 100644 >--- a/Source/JavaScriptCore/wasm/js/WebAssemblyRuntimeErrorPrototype.cpp >+++ b/Source/JavaScriptCore/wasm/js/WebAssemblyRuntimeErrorPrototype.cpp >@@ -57,7 +57,6 @@ Structure* WebAssemblyRuntimeErrorPrototype::createStructure(VM& vm, JSGlobalObj > void WebAssemblyRuntimeErrorPrototype::finishCreation(VM& vm) > { > Base::finishCreation(vm); >- didBecomePrototype(); > } > > WebAssemblyRuntimeErrorPrototype::WebAssemblyRuntimeErrorPrototype(VM& vm, Structure* structure) >diff --git a/Source/JavaScriptCore/wasm/js/WebAssemblyTablePrototype.cpp b/Source/JavaScriptCore/wasm/js/WebAssemblyTablePrototype.cpp >index e0918d54d3ff311c59f9c2189f395ad703830af5..f48178374fd81135f0988d910219dd4896809f44 100644 >--- a/Source/JavaScriptCore/wasm/js/WebAssemblyTablePrototype.cpp >+++ b/Source/JavaScriptCore/wasm/js/WebAssemblyTablePrototype.cpp >@@ -164,7 +164,6 @@ void WebAssemblyTablePrototype::finishCreation(VM& vm) > { > Base::finishCreation(vm); > ASSERT(inherits(vm, info())); >- didBecomePrototype(); > } > > WebAssemblyTablePrototype::WebAssemblyTablePrototype(VM& vm, Structure* structure) >diff --git a/Source/WebCore/bindings/js/JSWindowProxy.cpp b/Source/WebCore/bindings/js/JSWindowProxy.cpp >index b1ea37f49036c67d6889cd983e0c953529f5bce1..bf0e22591e546d0d81f63e48d66707fbacd61d63 100644 >--- a/Source/WebCore/bindings/js/JSWindowProxy.cpp >+++ b/Source/WebCore/bindings/js/JSWindowProxy.cpp >@@ -97,7 +97,6 @@ void JSWindowProxy::setWindow(AbstractDOMWindow& domWindow) > // 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) { >diff --git a/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm b/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm >index 15611d139a473525b0ee740df28bf43f7b524086..505c4f2ef141b35682a174475dec226af9d71dcc 100644 >--- a/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm >+++ b/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm >@@ -7070,7 +7070,6 @@ sub GeneratePrototypeDeclaration > 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 @@ sub GenerateConstructorHelperMethods > > 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("<JavaScriptCore/FunctionPrototype.h>"); > push(@$outputArray, " UNUSED_PARAM(vm);\n"); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSInterfaceName.cpp b/Source/WebCore/bindings/scripts/test/JS/JSInterfaceName.cpp >index a82f0d6ad92e570322a164d2539cbe2dc26cd295..141eb8ee56904cf3772d96be6fb34e4782340fb1 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSInterfaceName.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSInterfaceName.cpp >@@ -62,7 +62,6 @@ private: > JSInterfaceNamePrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSMapLike.cpp b/Source/WebCore/bindings/scripts/test/JS/JSMapLike.cpp >index ba1fc77fd23bc5494e51201f6ab585456616e711..3567a72d07fd6c7ae1e48cb3b348849f208853df 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSMapLike.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSMapLike.cpp >@@ -81,7 +81,6 @@ private: > JSMapLikePrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSReadOnlyMapLike.cpp b/Source/WebCore/bindings/scripts/test/JS/JSReadOnlyMapLike.cpp >index 3b91deddf887aa6258a100c1230f333a435d25b9..ab281f059d6b317c2c9233d0c6809a1ff796cd30 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSReadOnlyMapLike.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSReadOnlyMapLike.cpp >@@ -78,7 +78,6 @@ private: > JSReadOnlyMapLikePrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp >index e38745956aa649d82813fe0f111bcbd25708ed3e..2b614176fc0809a85a4f0b69c7dbfdc9e9ac2bcd 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp >@@ -75,7 +75,6 @@ private: > JSTestActiveDOMObjectPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestCEReactions.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestCEReactions.cpp >index fc98128b3785f24588b73af578b7885a0cc55495..a1bdab10f5ea296880fa08822dadce3d1c08e6ac 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestCEReactions.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestCEReactions.cpp >@@ -87,7 +87,6 @@ private: > JSTestCEReactionsPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestCEReactionsStringifier.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestCEReactionsStringifier.cpp >index 636928615958f4ba7115d98dd7e6522c0e9e5137..580e2437393c5e0f89c9a2752e743ec894668128 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestCEReactionsStringifier.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestCEReactionsStringifier.cpp >@@ -74,7 +74,6 @@ private: > JSTestCEReactionsStringifierPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestCallTracer.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestCallTracer.cpp >index bfe9bb600a20f126e9659cd18135a83f87bd7333..6b81bffe495e500bcba3451c7fd7b6bee7754250 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestCallTracer.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestCallTracer.cpp >@@ -92,7 +92,6 @@ private: > JSTestCallTracerPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.cpp >index 363e1903dc1290ba5a19943a73931857445a008c..5c8c78558c59a2b1b2368b0bb6143c06d1ce0a3e 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.cpp >@@ -63,7 +63,6 @@ private: > JSTestClassWithJSBuiltinConstructorPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestDOMJIT.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestDOMJIT.cpp >index 8262f167d0956c5c351aded2044fb8451afd7ea8..83b0f7d9e4b5394c1dd40344a466e53d033dbee6 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestDOMJIT.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestDOMJIT.cpp >@@ -485,7 +485,6 @@ private: > JSTestDOMJITPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >@@ -495,9 +494,7 @@ using JSTestDOMJITConstructor = JSDOMConstructorNotConstructable<JSTestDOMJIT>; > > 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) >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestEnabledBySetting.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestEnabledBySetting.cpp >index 6a573382a8d9bf710ce695407237e9e2b9b1369d..4df8130ff5f822d241eca49aa8a9d8348109642a 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestEnabledBySetting.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestEnabledBySetting.cpp >@@ -84,7 +84,6 @@ private: > JSTestEnabledBySettingPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp >index 0dcf4aff716f24cb3054332c98fab79afd551166..33e2f9d4a0fc381f966ab9fb8b1c9e7092f286c8 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp >@@ -144,7 +144,6 @@ private: > JSTestEventConstructorPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >@@ -171,9 +170,7 @@ template<> EncodedJSValue JSC_HOST_CALL JSTestEventConstructorConstructor::const > > 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) >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp >index cfffbabaa978b14471aeada111b0e6e0be55d23f..5fc7cb6c555e745bcfbabca0643118c6d61f076f 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp >@@ -72,7 +72,6 @@ private: > JSTestEventTargetPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >@@ -82,9 +81,7 @@ using JSTestEventTargetConstructor = JSDOMConstructorNotConstructable<JSTestEven > > 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) >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp >index 9afb2fce2e46b3f8c4fe7f8a0703a84fbc52b66c..36d62411a8d99e133e75ae2bb1200b993d5d0a14 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp >@@ -65,7 +65,6 @@ private: > JSTestExceptionPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp >index f810e9e01412a04bb1be10d0a6fc6cd0ca6894a7..9f16b828c8b3d2e953e3558ea7f2e0583f293379 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp >@@ -65,7 +65,6 @@ private: > JSTestGenerateIsReachablePrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestGlobalObject.h b/Source/WebCore/bindings/scripts/test/JS/JSTestGlobalObject.h >index dac01ff1b50337c4e668c90e7e169e714178a38f..16c07497f8be2b28576a2e7f96e19bef178a17dd 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestGlobalObject.h >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestGlobalObject.h >@@ -102,7 +102,6 @@ private: > JSTestGlobalObjectPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > public: > static const unsigned StructureFlags = Base::StructureFlags | JSC::HasStaticPropertyTable; >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterNoIdentifier.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterNoIdentifier.cpp >index 9db29635e4e8aa80b878ddb71862ccb610198ffa..093adcba6e45698eb4d6ba295b49340ec1feab55 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterNoIdentifier.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterNoIdentifier.cpp >@@ -64,7 +64,6 @@ private: > JSTestIndexedSetterNoIdentifierPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterThrowingException.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterThrowingException.cpp >index 17fbf916577e16260432e2568f4ffb2a8142ff1b..615802d96e77ecf61e6e67972d7b6ff96ec7793e 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterThrowingException.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterThrowingException.cpp >@@ -64,7 +64,6 @@ private: > JSTestIndexedSetterThrowingExceptionPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterWithIdentifier.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterWithIdentifier.cpp >index 44a5f45eb9dc59ee9555570f48d6a6be9cebbb0d..a871231879a9f0b64dd5ca995b401655024ae400 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterWithIdentifier.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterWithIdentifier.cpp >@@ -70,7 +70,6 @@ private: > JSTestIndexedSetterWithIdentifierPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp >index 60323ac3c4f297dd281a1aad59a349cba4ae642b..d6c41fb10c356d56d0ef9a7281e98b745cf0ee16 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp >@@ -168,7 +168,6 @@ private: > JSTestInterfacePrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestInterfaceLeadingUnderscore.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestInterfaceLeadingUnderscore.cpp >index 62fd904828beea722d1e52575871a185b7d35405..c94182c2444473dd7c57aabaf30b5108a96fcb00 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestInterfaceLeadingUnderscore.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestInterfaceLeadingUnderscore.cpp >@@ -65,7 +65,6 @@ private: > JSTestInterfaceLeadingUnderscorePrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestIterable.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestIterable.cpp >index 802c54937478cc14afe9333f358ac21f8c7ed526..1a9237470c8fd6581bf046a040a1e6ea7c177a4c 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestIterable.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestIterable.cpp >@@ -73,7 +73,6 @@ private: > JSTestIterablePrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestJSBuiltinConstructor.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestJSBuiltinConstructor.cpp >index 19129293662de64b04449827134f8f22b062cf6c..a6560b395be62132fd4fbf4797ed3a2e77d80d91 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestJSBuiltinConstructor.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestJSBuiltinConstructor.cpp >@@ -69,7 +69,6 @@ private: > JSTestJSBuiltinConstructorPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp >index 8ca4cda8b1de59ef0c0c69a7096da871ccd5ba67..fa78d03cc5bc7cd9717934fb0268f7f467d590f7 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp >@@ -70,7 +70,6 @@ private: > JSTestMediaQueryListListenerPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterNoIdentifier.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterNoIdentifier.cpp >index 08863e09c81e71b863806165fb89ebad962c0bc7..35b77a74db67869f4da76726848ca3c633950c57 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterNoIdentifier.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterNoIdentifier.cpp >@@ -65,7 +65,6 @@ private: > JSTestNamedAndIndexedSetterNoIdentifierPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterThrowingException.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterThrowingException.cpp >index 830e1b5d1d99b6c811ead404496d58e478bfee2b..f1b1da1b54b4ba24c8794e921db565b991c9dc7f 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterThrowingException.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterThrowingException.cpp >@@ -65,7 +65,6 @@ private: > JSTestNamedAndIndexedSetterThrowingExceptionPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterWithIdentifier.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterWithIdentifier.cpp >index 3aa59f31a9e2f52d2114f73438e1868b3351433b..fb6089cbd41a5bfe3282737b227158d30817fe7a 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterWithIdentifier.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedAndIndexedSetterWithIdentifier.cpp >@@ -72,7 +72,6 @@ private: > JSTestNamedAndIndexedSetterWithIdentifierPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp >index 267c1205e7f746e949646090c11e8a8e0008bd8a..022d3cdc3fe940c24eca85ab3bf8b184e06e78ef 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp >@@ -65,7 +65,6 @@ private: > JSTestNamedConstructorPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterNoIdentifier.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterNoIdentifier.cpp >index d28be4acd815e37653b5b0190ba6a8da133d49e2..e7d91f8c868c253d6b88012142553112c3f8d80e 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterNoIdentifier.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterNoIdentifier.cpp >@@ -64,7 +64,6 @@ private: > JSTestNamedDeleterNoIdentifierPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterThrowingException.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterThrowingException.cpp >index 331841f89a123e8ab3257b38d17d3c820e344be7..a7d76ba7a3deb5845304be65c89d8e0da29daf7a 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterThrowingException.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterThrowingException.cpp >@@ -64,7 +64,6 @@ private: > JSTestNamedDeleterThrowingExceptionPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterWithIdentifier.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterWithIdentifier.cpp >index aa1956ff846722ce329dd4661fee7e43a1871c1d..9edab591d948349650ad123919f6b36316d54d6b 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterWithIdentifier.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterWithIdentifier.cpp >@@ -69,7 +69,6 @@ private: > JSTestNamedDeleterWithIdentifierPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterWithIndexedGetter.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterWithIndexedGetter.cpp >index e3ff12809b4a1305390827d633f82743c321a55a..2fb624a015b4ba7898d909250bd074c920ca6e3e 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterWithIndexedGetter.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterWithIndexedGetter.cpp >@@ -65,7 +65,6 @@ private: > JSTestNamedDeleterWithIndexedGetterPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterCallWith.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterCallWith.cpp >index c18f46eafe3281a0e8f882f9b6a36883f49cf572..f5959690980573180e86246f1483be9d03090f2e 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterCallWith.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterCallWith.cpp >@@ -64,7 +64,6 @@ private: > JSTestNamedGetterCallWithPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterNoIdentifier.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterNoIdentifier.cpp >index 9f43da5129f1dfdb20289fbcdca75658a24d6692..fae104a834cd1db8a4b2a41a7c167c9b7bd1f8a5 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterNoIdentifier.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterNoIdentifier.cpp >@@ -64,7 +64,6 @@ private: > JSTestNamedGetterNoIdentifierPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterWithIdentifier.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterWithIdentifier.cpp >index a4a0cd27b8583a28a02081703d384601ab1d99c8..918b2d61ebd6d22f7062164f65dd241ca48b4814 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterWithIdentifier.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedGetterWithIdentifier.cpp >@@ -69,7 +69,6 @@ private: > JSTestNamedGetterWithIdentifierPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterNoIdentifier.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterNoIdentifier.cpp >index a5b759a69a0826a1d6d9114791019b2f5365e613..021ce1ea16742d3910eab1e9756e1655fbf757b1 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterNoIdentifier.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterNoIdentifier.cpp >@@ -64,7 +64,6 @@ private: > JSTestNamedSetterNoIdentifierPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterThrowingException.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterThrowingException.cpp >index b00ec8e3ded89b489e82d71b900fc5d4df06090e..052a1a22825ab4d6099b8db6da18d5174d50ba01 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterThrowingException.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterThrowingException.cpp >@@ -64,7 +64,6 @@ private: > JSTestNamedSetterThrowingExceptionPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIdentifier.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIdentifier.cpp >index 5c521cc28627597716036f36475be6cf174af546..0b8f5de1cac641abdf0f690bd82dbb05d3f29a71 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIdentifier.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIdentifier.cpp >@@ -69,7 +69,6 @@ private: > JSTestNamedSetterWithIdentifierPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetter.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetter.cpp >index 1dfd40032673c1161ae7c80e8e2c82b799344111..090da163fc52093171cb4fdc04abd6beb8577850 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetter.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetter.cpp >@@ -72,7 +72,6 @@ private: > JSTestNamedSetterWithIndexedGetterPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetterAndSetter.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetterAndSetter.cpp >index eeb3605ce1804bc6c282e4b031d599f3f623d08e..5d0ba23c476c9c6215b2ce7e115f3559839caf2c 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetterAndSetter.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetterAndSetter.cpp >@@ -72,7 +72,6 @@ private: > JSTestNamedSetterWithIndexedGetterAndSetterPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithOverrideBuiltins.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithOverrideBuiltins.cpp >index ed2418ee70af3311a5f5903c073d770a200deee8..f27629c7bbb3a2b88bb556d09e754536eb7c400e 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithOverrideBuiltins.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithOverrideBuiltins.cpp >@@ -64,7 +64,6 @@ private: > JSTestNamedSetterWithOverrideBuiltinsPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithUnforgableProperties.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithUnforgableProperties.cpp >index 99497543770b14c6b2b968e2a52aca89a4012fa1..d4d9738cdb01b8426b663c21fc8298f144ba2637 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithUnforgableProperties.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithUnforgableProperties.cpp >@@ -71,7 +71,6 @@ private: > JSTestNamedSetterWithUnforgablePropertiesPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithUnforgablePropertiesAndOverrideBuiltins.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithUnforgablePropertiesAndOverrideBuiltins.cpp >index d4a5dfb8b270809c9ccab82420cedd472e6524bd..ce59e749c273e01c4409f6653af5dfa8d04d2a34 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithUnforgablePropertiesAndOverrideBuiltins.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNamedSetterWithUnforgablePropertiesAndOverrideBuiltins.cpp >@@ -71,7 +71,6 @@ private: > JSTestNamedSetterWithUnforgablePropertiesAndOverrideBuiltinsPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestNode.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestNode.cpp >index 31180d2e7a5f5aa77a029fe37a9e45a1a6612853..264bf961423acb7819bcebdc904f2730e88a8c1c 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestNode.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestNode.cpp >@@ -88,7 +88,6 @@ private: > JSTestNodePrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >@@ -109,9 +108,7 @@ template<> EncodedJSValue JSC_HOST_CALL JSTestNodeConstructor::construct(ExecSta > > 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) >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp >index a2b406e4b97a636a33a582980085d1e15a219e0f..5df73bf451507f20d916fd11cf9203af9140fc42 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp >@@ -1819,7 +1819,6 @@ private: > JSTestObjPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp >index 8446c0723197b6e3f616e87de2b648f87032f567..7708eda3aadc73bd12ff15ed68e3188629714801 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp >@@ -68,7 +68,6 @@ private: > JSTestOverloadedConstructorsPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructorsWithSequence.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructorsWithSequence.cpp >index 0a0a0d725f401a3242702230a1f0619c82bdf99e..3831269640733ec635b7ecc46c833b73f550ac17 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructorsWithSequence.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructorsWithSequence.cpp >@@ -67,7 +67,6 @@ private: > JSTestOverloadedConstructorsWithSequencePrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.cpp >index 65374a0b2c707a833b69c503cdf34ab718207a7e..9b5a0272316c7583af327c2bae97f52c79cc8399 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.cpp >@@ -72,7 +72,6 @@ private: > JSTestOverrideBuiltinsPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestPluginInterface.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestPluginInterface.cpp >index 7acf2a37c811a863d983e2facb5133e43c80b5cc..c340edd757895eecb11b6ffc321d588c522472a2 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestPluginInterface.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestPluginInterface.cpp >@@ -63,7 +63,6 @@ private: > JSTestPluginInterfacePrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestPromiseRejectionEvent.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestPromiseRejectionEvent.cpp >index 45a09c7a16cf4ad8f3100b430c5d6db3c4e59a50..c8da5dd06c8b14d5880fd1fceec94af600e0cd9d 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestPromiseRejectionEvent.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestPromiseRejectionEvent.cpp >@@ -147,7 +147,6 @@ private: > JSTestPromiseRejectionEventPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >@@ -175,9 +174,7 @@ template<> EncodedJSValue JSC_HOST_CALL JSTestPromiseRejectionEventConstructor:: > > 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) >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestSerialization.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestSerialization.cpp >index ce6a881a21fa6961e15504757dccae3953a62f15..965634adf1a35e2047fd2db4af8758db354f7517 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestSerialization.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestSerialization.cpp >@@ -104,7 +104,6 @@ private: > JSTestSerializationPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestSerializationIndirectInheritance.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestSerializationIndirectInheritance.cpp >index c5196873865b7eabf50b6d80265a3c19e7629e9d..64920052284ae525b12c6e720d83de17f4ece6d3 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestSerializationIndirectInheritance.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestSerializationIndirectInheritance.cpp >@@ -61,7 +61,6 @@ private: > JSTestSerializationIndirectInheritancePrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >@@ -71,9 +70,7 @@ using JSTestSerializationIndirectInheritanceConstructor = JSDOMConstructorNotCon > > 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) >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestSerializationInherit.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestSerializationInherit.cpp >index a1a824308f4f080c9d2cd7c6da78a9140f1bad9f..4442f5139bec98be4b11a6b0d83c7348a8c44382 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestSerializationInherit.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestSerializationInherit.cpp >@@ -71,7 +71,6 @@ private: > JSTestSerializationInheritPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >@@ -81,9 +80,7 @@ using JSTestSerializationInheritConstructor = JSDOMConstructorNotConstructable<J > > 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) >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestSerializationInheritFinal.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestSerializationInheritFinal.cpp >index 069b115d4af4a53e93cf2d6a726f77d4a0bd66ad..ba61bc52a84f70fd34301c38f73f970d4c9f0f4e 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestSerializationInheritFinal.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestSerializationInheritFinal.cpp >@@ -73,7 +73,6 @@ private: > JSTestSerializationInheritFinalPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >@@ -83,9 +82,7 @@ using JSTestSerializationInheritFinalConstructor = JSDOMConstructorNotConstructa > > 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) >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp >index d37fde1dc193dc8d8a36f28c58dac3c323a0289c..42b2836f9d2e791735945484643dca28f567ed5b 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp >@@ -86,7 +86,6 @@ private: > JSTestSerializedScriptValueInterfacePrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestStringifier.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestStringifier.cpp >index 1ffafdae01c37469650f642d133dad940dbeb71a..31392cb920b79fbbcb34edd29e14784eee2a36ae 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestStringifier.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestStringifier.cpp >@@ -68,7 +68,6 @@ private: > JSTestStringifierPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierAnonymousOperation.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierAnonymousOperation.cpp >index c6465d70960abf434fb6b6b1b4570b464421e9c5..58cd0ff94092bce04c291fff32b0d6dae39d1bc2 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierAnonymousOperation.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierAnonymousOperation.cpp >@@ -68,7 +68,6 @@ private: > JSTestStringifierAnonymousOperationPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierNamedOperation.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierNamedOperation.cpp >index fe867d62e0b3a3782f50da17681d3603abc20093..c9b25f0ad9d6bb83e760e42ac9411abae1ce9b6e 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierNamedOperation.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierNamedOperation.cpp >@@ -69,7 +69,6 @@ private: > JSTestStringifierNamedOperationPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierOperationImplementedAs.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierOperationImplementedAs.cpp >index 34ab9dac708c5cac37fe171812e1e3658b1212ab..35d863a85d62497480b1a5f84549bae4efd1f198 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierOperationImplementedAs.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierOperationImplementedAs.cpp >@@ -69,7 +69,6 @@ private: > JSTestStringifierOperationImplementedAsPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierOperationNamedToString.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierOperationNamedToString.cpp >index fe730ba0023fc49a4acc78067a92707a08e7fe47..6ba4cd1fd05810ea79d81fc8af0bb8c64c6261b9 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierOperationNamedToString.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierOperationNamedToString.cpp >@@ -68,7 +68,6 @@ private: > JSTestStringifierOperationNamedToStringPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierReadOnlyAttribute.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierReadOnlyAttribute.cpp >index df4ef8c7247c76f2feccb584623ab6ebe3290cce..41523a5af2ac1e869a9ad10d384ef4d4d07848c3 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierReadOnlyAttribute.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierReadOnlyAttribute.cpp >@@ -70,7 +70,6 @@ private: > JSTestStringifierReadOnlyAttributePrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierReadWriteAttribute.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierReadWriteAttribute.cpp >index b204fa263645a45d0db22cdfc9369a033ce5ece0..7cc60e80c8e32111647773a6c004359334f48d3c 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierReadWriteAttribute.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestStringifierReadWriteAttribute.cpp >@@ -71,7 +71,6 @@ private: > JSTestStringifierReadWriteAttributePrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >diff --git a/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp >index a71b58c6c7d36e7ac4886a5cc5934b0accc2526f..906b66de8fa22cd2735eb9b36f9ffee80a283b65 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp >@@ -114,7 +114,6 @@ private: > JSTestTypedefsPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure) > : JSC::JSNonFinalObject(vm, structure) > { >- didBecomePrototype(); > } > > void finishCreation(JSC::VM&); >diff --git a/JSTests/ChangeLog b/JSTests/ChangeLog >index 2b8f8f18274da44551c7a4e36a493f8f3c005dfb..316b88eff9ac4d77207826aebd8b9ab4a2d4c322 100644 >--- a/JSTests/ChangeLog >+++ b/JSTests/ChangeLog >@@ -1,3 +1,16 @@ >+2019-04-26 Commit Queue <commit-queue@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 <ysuzuki@apple.com> > > [JSC] linkPolymorphicCall now does GC >diff --git a/JSTests/stress/function-prototype-indexed-accessor.js b/JSTests/stress/function-prototype-indexed-accessor.js >deleted file mode 100644 >index 2b6954e08e70648ea06a53bc0ff626f823674ca3..0000000000000000000000000000000000000000 >--- a/JSTests/stress/function-prototype-indexed-accessor.js >+++ /dev/null >@@ -1,3 +0,0 @@ >-Function[0] = 0; >-Object.defineProperty(Function.__proto__, '42', { set: ()=>{} }); >-Function[1000] = 0;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 197334
: 368370