WebKit Bugzilla
Attachment 372812 Details for
Bug 199179
: REGRESSION(r246714): revert to do patch in a different way. (Requested by keith_mi_ on #webkit).
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
ROLLOUT of r246714
bug-199179-20190624181744.patch (text/plain), 78.35 KB, created by
WebKit Commit Bot
on 2019-06-24 18:17:45 PDT
(
hide
)
Description:
ROLLOUT of r246714
Filename:
MIME Type:
Creator:
WebKit Commit Bot
Created:
2019-06-24 18:17:45 PDT
Size:
78.35 KB
patch
obsolete
>Subversion Revision: 246775 >diff --git a/Source/JavaScriptCore/ChangeLog b/Source/JavaScriptCore/ChangeLog >index 6ea4c24c4607168f19a63a009b32f476bc371dee..b2fef6a3164ab867c58a8f425426bec9603628a0 100644 >--- a/Source/JavaScriptCore/ChangeLog >+++ b/Source/JavaScriptCore/ChangeLog >@@ -1,3 +1,17 @@ >+2019-06-24 Commit Queue <commit-queue@webkit.org> >+ >+ Unreviewed, rolling out r246714. >+ https://bugs.webkit.org/show_bug.cgi?id=199179 >+ >+ revert to do patch in a different way. (Requested by keith_mi_ >+ on #webkit). >+ >+ Reverted changeset: >+ >+ "All prototypes should call didBecomePrototype()" >+ https://bugs.webkit.org/show_bug.cgi?id=196315 >+ https://trac.webkit.org/changeset/246714 >+ > 2019-06-24 Alexey Shvayka <shvaikalesh@gmail.com> > > Add Array.prototype.{flat,flatMap} to unscopables >diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog >index 61d99a0121099a22804fd83fd96f84b7dcbb0ad0..3ef19a34d5e748f2b6f6a5b7969334e0208af632 100644 >--- a/Source/WebCore/ChangeLog >+++ b/Source/WebCore/ChangeLog >@@ -1,3 +1,17 @@ >+2019-06-24 Commit Queue <commit-queue@webkit.org> >+ >+ Unreviewed, rolling out r246714. >+ https://bugs.webkit.org/show_bug.cgi?id=199179 >+ >+ revert to do patch in a different way. (Requested by keith_mi_ >+ on #webkit). >+ >+ Reverted changeset: >+ >+ "All prototypes should call didBecomePrototype()" >+ https://bugs.webkit.org/show_bug.cgi?id=196315 >+ https://trac.webkit.org/changeset/246714 >+ > 2019-06-24 Sihui Liu <sihui_liu@apple.com> > > REGRESSION (r244436): IndexedDB Uint8Array returned as ArrayBuffer >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 fde44db6cecb416c7c5ad832f6e93e92d2096d5d..3c04536449105f07665aa7728ff0a211654a0540 100644 >--- a/Source/JavaScriptCore/runtime/JSGlobalObject.cpp >+++ b/Source/JavaScriptCore/runtime/JSGlobalObject.cpp >@@ -236,9 +236,7 @@ static JSValue createReflectProperty(VM& vm, JSObject* object) > static JSValue createConsoleProperty(VM& vm, JSObject* object) > { > JSGlobalObject* global = jsCast<JSGlobalObject*>(object); >- JSObject* prototype = constructEmptyObject(global->globalExec()); >- prototype->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 70b337b76cf96a6ea53c08d026fe3e22a936c504..f69e68b8ef5d1b4ca133d567ebefc9967a1ef0e5 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 b843bc03f7a26cc7ee174cfc98184b1726f3963f..ed8049b646ac1ec4969b2533881b97df4b60ac63 100644 >--- a/Source/JavaScriptCore/runtime/RegExpPrototype.cpp >+++ b/Source/JavaScriptCore/runtime/RegExpPrototype.cpp >@@ -82,8 +82,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 8d84a45b10903bfa312b7bee2f8a2828dba341ee..89238834956a445211ca2313e80a6a0b52d4c76d 100644 >--- a/Source/JavaScriptCore/runtime/StringPrototype.cpp >+++ b/Source/JavaScriptCore/runtime/StringPrototype.cpp >@@ -173,8 +173,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/StructureInlines.h b/Source/JavaScriptCore/runtime/StructureInlines.h >index fd4f8605db99978e554ca870b9c31a0b0cf49b00..4a30f37dd75a63150375b891f9de8210d4433f0c 100644 >--- a/Source/JavaScriptCore/runtime/StructureInlines.h >+++ b/Source/JavaScriptCore/runtime/StructureInlines.h >@@ -493,7 +493,6 @@ inline PropertyOffset Structure::removePropertyWithoutTransition(VM&, PropertyNa > > ALWAYS_INLINE void Structure::setPrototypeWithoutTransition(VM& vm, JSValue prototype) > { >- ASSERT(isValidPrototype(prototype)); > m_prototype.set(vm, this, prototype); > } > >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 1fc2257749abb27c04dd116ada82b090f4c98650..7f1057f1c9ecfdcc66a7806ee71c0cd4d6fa885e 100644 >--- a/Source/JavaScriptCore/wasm/js/WebAssemblyTablePrototype.cpp >+++ b/Source/JavaScriptCore/wasm/js/WebAssemblyTablePrototype.cpp >@@ -166,7 +166,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/JSDOMIterator.h b/Source/WebCore/bindings/js/JSDOMIterator.h >index b5c8c9ee2348e0464c5b93c521b21d14c9943efa..2709b1fb980f17038dcb9c7a84756799ce2a4ebd 100644 >--- a/Source/WebCore/bindings/js/JSDOMIterator.h >+++ b/Source/WebCore/bindings/js/JSDOMIterator.h >@@ -265,7 +265,6 @@ void JSDOMIteratorPrototype<JSWrapper, IteratorTraits>::finishCreation(JSC::VM& > ASSERT(inherits(vm, info())); > > JSC_NATIVE_INTRINSIC_FUNCTION_WITHOUT_TRANSITION(vm.propertyNames->next, next, 0, 0, JSC::NoIntrinsic); >- didBecomePrototype(); > } > > } >diff --git a/Source/WebCore/bindings/js/JSDOMWindowProperties.h b/Source/WebCore/bindings/js/JSDOMWindowProperties.h >index 3166e643074523bc65e32bc956687de90ddace7e..128b7ae83dd3150ac3a41b2c2de039f7eb787efc 100644 >--- a/Source/WebCore/bindings/js/JSDOMWindowProperties.h >+++ b/Source/WebCore/bindings/js/JSDOMWindowProperties.h >@@ -30,7 +30,7 @@ > > namespace WebCore { > >-class JSDOMWindowProperties final : public JSDOMObject { >+class JSDOMWindowProperties : public JSDOMObject { > public: > static JSDOMWindowProperties* create(JSC::Structure* structure, JSC::JSGlobalObject& globalObject) > { >@@ -55,7 +55,6 @@ protected: > JSDOMWindowProperties(JSC::Structure* structure, JSC::JSGlobalObject& globalObject) > : JSDOMObject(structure, globalObject) > { >- didBecomePrototype(); > } > }; > >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 2edb8ab6a82d722828875363bf05913caf5495f5..d0982deb5310076356a9cd1a36686e38b1b8c4a7 100644 >--- a/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm >+++ b/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm >@@ -7069,7 +7069,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)) { >@@ -7304,9 +7303,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 87e4555d2e18ee880fd02a920903c9b15e791afa..600437b06a32f2cbd6782766832fd7a225465d46 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/JSTestEnabledForContext.cpp b/Source/WebCore/bindings/scripts/test/JS/JSTestEnabledForContext.cpp >index 1f6e1416c7c2db3078795b1d039fa6d227a28c20..9b7fb7d256f5975c12b2d420ded36e64cd720a33 100644 >--- a/Source/WebCore/bindings/scripts/test/JS/JSTestEnabledForContext.cpp >+++ b/Source/WebCore/bindings/scripts/test/JS/JSTestEnabledForContext.cpp >@@ -69,7 +69,6 @@ private: > JSTestEnabledForContextPrototype(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 05e4d9f0ad0229130bc02274ce05bb6f89b58503..92b9d98a5e7372f2146c74181107b5a288a39991 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 7a4a5e6e1c189c0e705ebc28908f0e50b187131f..39e6ae5778b107cd625b2d28239a62e1fd91263e 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 8ad341cdff745962664daabfe577835647467738..9f8dcc68bb73431592d8bcb89b4f4b146791cea3 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 e9bdcf49ed5a801f8d7d2457b30aca0c26b12fb7..c3f14e57acb357ee16e71eb60d0c922a2285125f 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 5d2b6b68611b9e568134d60a193cded71de95f00..ef3e5591aeff4c3f6833d1d8632071d73e99b5bb 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 f0b5b743f52cb9a30617ea83e3b718d6e26e3abf..0fd763b328fbb8818cdc11d98fc85538fc73e8fb 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 d3dca2a9f3889f8eeb667f4c0a6a8efb94b27c5d..9e500bdd6d80e81583cc6b77275266b398821134 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 d2c14cf2e359fb442223ed4e48f95fff18406490..9492b57ef7ed1f9ccd487ee35f20eae3998ce867 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 d3fa0722f1d64b5ceac1b112a5d85c986a26df6e..10e4a6b4b6353dd061e101873b3da6b9787fa4fd 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 e592a7fdf72c6eac6f733ac414e46a2391bd76bb..b2db2ada44f97798b91c0d86b0c6f5d3399dea98 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 ed6ed8b6bcbcdbc99b797682a362e2c5d1d1f37f..daa279f99f0a2b18a71313ecd56352f0547e74a2 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 32edb0acf71d1e12a333edc836354b9128c34713..de61438d03a821dff14e99a431e15b8cd038438c 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 2779be839fdb844057b3f44f346008a820b0bf63..ff95182d91dfdd2434bb5fa059faca04d2b8365f 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 2bfd7d0c02c57ec3d2b0aa9cc9430f515cb9bcdd..f5fb8b27cb05e48aec80481eb06df7b5f16171b0 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 5a276805fc79761d7a01437a2f9311223267d53f..80eb5525621cdefbdc98eb5da50290d38a8d74f2 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 8027fc1d871daa21181bb5c708d328a28dbe1c9e..8e15fdf9d10f10699e0575d89a78cf6a027a8d49 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 60357222ef4628859600fdc072f184bac9d294ab..53b137bfe3bb60eee76b5040b5e6caf1dbaa1745 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 2b236e8c749214b3ebda440d76d9acbcf278f44e..bc9a41f261e57785679f50b636d0ff4db8782a11 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 a490305a615dd72ce2f68259fd705932a01b514b..198783eb9f1c40ac710da985bc17b7f2aa25411f 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 8409518fcf00a1ff698a731de80f89acbebc2306..bf3c85dd8cbcf4c9aba4aab3305b47b1e0fdd190 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 5666642286156afa1ed329af9cfd31b8b41172c0..30c7912adb6c38d30045955384e300bf530dd217 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 6bdd69a48daca241b05aec111eaaf6b70f1fb2f7..aaf13ec3d085577230fe27679d434b77ec502671 100644 >--- a/JSTests/ChangeLog >+++ b/JSTests/ChangeLog >@@ -1,3 +1,17 @@ >+2019-06-24 Commit Queue <commit-queue@webkit.org> >+ >+ Unreviewed, rolling out r246714. >+ https://bugs.webkit.org/show_bug.cgi?id=199179 >+ >+ revert to do patch in a different way. (Requested by keith_mi_ >+ on #webkit). >+ >+ Reverted changeset: >+ >+ "All prototypes should call didBecomePrototype()" >+ https://bugs.webkit.org/show_bug.cgi?id=196315 >+ https://trac.webkit.org/changeset/246714 >+ > 2019-06-24 Alexey Shvayka <shvaikalesh@gmail.com> > > Add Array.prototype.{flat,flatMap} to unscopables >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 199179
: 372812