Changeset 49649 in webkit
- Timestamp:
- Oct 15, 2009 12:55:09 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 45 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/API/JSCallbackConstructor.h
r49607 r49649 42 42 static PassRefPtr<Structure> createStructure(JSValue proto) 43 43 { 44 return Structure::create(proto, TypeInfo(ObjectType, ImplementsHasInstance | HasDefault Mark | HasDefaultGetPropertyNames));44 return Structure::create(proto, TypeInfo(ObjectType, ImplementsHasInstance | HasDefaultGetPropertyNames)); 45 45 } 46 46 -
trunk/JavaScriptCore/API/JSCallbackFunction.h
r49607 r49649 42 42 static PassRefPtr<Structure> createStructure(JSValue proto) 43 43 { 44 return Structure::create(proto, TypeInfo(ObjectType , HasDefaultMark));44 return Structure::create(proto, TypeInfo(ObjectType)); 45 45 } 46 46 -
trunk/JavaScriptCore/API/JSCallbackObject.h
r49607 r49649 51 51 static PassRefPtr<Structure> createStructure(JSValue proto) 52 52 { 53 return Structure::create(proto, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | ImplementsHasInstance | OverridesHasInstance ));53 return Structure::create(proto, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | ImplementsHasInstance | OverridesHasInstance | OverridesMarkChildren)); 54 54 } 55 55 -
trunk/JavaScriptCore/ChangeLog
r49607 r49649 1 2009-10-15 Oliver Hunt <oliver@apple.com> 2 3 Reviewed by Darin Adler. 4 5 Make typeinfo flags default to false 6 https://bugs.webkit.org/show_bug.cgi?id=30372 7 8 Part 2 -- Reverse the TypeInfo HasDefaultMark flag to OverridesMarkChildren, etc 9 10 * API/JSCallbackConstructor.h: 11 (JSC::JSCallbackConstructor::createStructure): 12 * API/JSCallbackFunction.h: 13 (JSC::JSCallbackFunction::createStructure): 14 * API/JSCallbackObject.h: 15 (JSC::JSCallbackObject::createStructure): 16 * debugger/DebuggerActivation.h: 17 (JSC::DebuggerActivation::createStructure): 18 * runtime/Arguments.h: 19 (JSC::Arguments::createStructure): 20 * runtime/BooleanObject.h: 21 (JSC::BooleanObject::createStructure): 22 * runtime/DatePrototype.h: 23 (JSC::DatePrototype::createStructure): 24 * runtime/FunctionPrototype.h: 25 (JSC::FunctionPrototype::createStructure): 26 * runtime/GetterSetter.h: 27 (JSC::GetterSetter::createStructure): 28 * runtime/GlobalEvalFunction.h: 29 (JSC::GlobalEvalFunction::createStructure): 30 * runtime/InternalFunction.h: 31 (JSC::InternalFunction::createStructure): 32 * runtime/JSAPIValueWrapper.h: 33 (JSC::JSAPIValueWrapper::createStructure): 34 * runtime/JSActivation.h: 35 (JSC::JSActivation::createStructure): 36 * runtime/JSArray.h: 37 (JSC::JSArray::createStructure): 38 (JSC::MarkStack::markChildren): 39 * runtime/JSByteArray.cpp: 40 (JSC::JSByteArray::createStructure): 41 * runtime/JSFunction.h: 42 (JSC::JSFunction::createStructure): 43 * runtime/JSGlobalObject.h: 44 (JSC::JSGlobalObject::createStructure): 45 * runtime/JSNotAnObject.h: 46 (JSC::JSNotAnObject::createStructure): 47 * runtime/JSNumberCell.h: 48 (JSC::JSNumberCell::createStructure): 49 * runtime/JSONObject.h: 50 (JSC::JSONObject::createStructure): 51 * runtime/JSObject.h: 52 (JSC::JSObject::createStructure): 53 * runtime/JSPropertyNameIterator.h: 54 (JSC::JSPropertyNameIterator::createStructure): 55 * runtime/JSStaticScopeObject.h: 56 (JSC::JSStaticScopeObject::createStructure): 57 * runtime/JSString.h: 58 (JSC::JSString::createStructure): 59 * runtime/JSTypeInfo.h: 60 (JSC::TypeInfo::overridesMarkChildren): 61 * runtime/JSVariableObject.h: 62 (JSC::JSVariableObject::createStructure): 63 * runtime/JSWrapperObject.h: 64 (JSC::JSWrapperObject::createStructure): 65 * runtime/MathObject.h: 66 (JSC::MathObject::createStructure): 67 * runtime/NumberConstructor.h: 68 (JSC::NumberConstructor::createStructure): 69 * runtime/NumberObject.h: 70 (JSC::NumberObject::createStructure): 71 * runtime/RegExpConstructor.h: 72 (JSC::RegExpConstructor::createStructure): 73 * runtime/RegExpObject.h: 74 (JSC::RegExpObject::createStructure): 75 * runtime/StringObject.h: 76 (JSC::StringObject::createStructure): 77 * runtime/StringObjectThatMasqueradesAsUndefined.h: 78 (JSC::StringObjectThatMasqueradesAsUndefined::createStructure): 79 1 80 2009-10-14 Oliver Hunt <oliver@apple.com> 2 81 -
trunk/JavaScriptCore/debugger/DebuggerActivation.h
r49607 r49649 52 52 static PassRefPtr<Structure> createStructure(JSValue prototype) 53 53 { 54 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | HasDefaultGetPropertyNames ));54 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | HasDefaultGetPropertyNames | OverridesMarkChildren)); 55 55 } 56 56 -
trunk/JavaScriptCore/runtime/Arguments.h
r49607 r49649 86 86 static PassRefPtr<Structure> createStructure(JSValue prototype) 87 87 { 88 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot ));88 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | OverridesMarkChildren)); 89 89 } 90 90 -
trunk/JavaScriptCore/runtime/BooleanObject.h
r49607 r49649 35 35 static PassRefPtr<Structure> createStructure(JSValue prototype) 36 36 { 37 return Structure::create(prototype, TypeInfo(ObjectType, HasDefault Mark | HasDefaultGetPropertyNames));37 return Structure::create(prototype, TypeInfo(ObjectType, HasDefaultGetPropertyNames)); 38 38 } 39 39 }; -
trunk/JavaScriptCore/runtime/DatePrototype.h
r49607 r49649 40 40 static PassRefPtr<Structure> createStructure(JSValue prototype) 41 41 { 42 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | HasDefaultGetPropertyNames ));42 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | HasDefaultGetPropertyNames | OverridesMarkChildren)); 43 43 } 44 44 }; -
trunk/JavaScriptCore/runtime/FunctionPrototype.h
r49607 r49649 35 35 static PassRefPtr<Structure> createStructure(JSValue proto) 36 36 { 37 return Structure::create(proto, TypeInfo(ObjectType, HasDefault Mark | HasDefaultGetPropertyNames));37 return Structure::create(proto, TypeInfo(ObjectType, HasDefaultGetPropertyNames)); 38 38 } 39 39 -
trunk/JavaScriptCore/runtime/GetterSetter.h
r47799 r49649 51 51 static PassRefPtr<Structure> createStructure(JSValue prototype) 52 52 { 53 return Structure::create(prototype, TypeInfo(GetterSetterType ));53 return Structure::create(prototype, TypeInfo(GetterSetterType, OverridesMarkChildren)); 54 54 } 55 55 private: -
trunk/JavaScriptCore/runtime/GlobalEvalFunction.h
r49607 r49649 38 38 static PassRefPtr<Structure> createStructure(JSValue prototype) 39 39 { 40 return Structure::create(prototype, TypeInfo(ObjectType, ImplementsHasInstance ));40 return Structure::create(prototype, TypeInfo(ObjectType, ImplementsHasInstance | OverridesMarkChildren)); 41 41 } 42 42 -
trunk/JavaScriptCore/runtime/InternalFunction.h
r49607 r49649 43 43 static PassRefPtr<Structure> createStructure(JSValue proto) 44 44 { 45 return Structure::create(proto, TypeInfo(ObjectType, ImplementsHasInstance | HasDefaultMark));45 return Structure::create(proto, TypeInfo(ObjectType, ImplementsHasInstance)); 46 46 } 47 47 -
trunk/JavaScriptCore/runtime/JSAPIValueWrapper.h
r47799 r49649 40 40 static PassRefPtr<Structure> createStructure(JSValue prototype) 41 41 { 42 return Structure::create(prototype, TypeInfo(CompoundType ));42 return Structure::create(prototype, TypeInfo(CompoundType, OverridesMarkChildren)); 43 43 } 44 44 -
trunk/JavaScriptCore/runtime/JSActivation.h
r49607 r49649 67 67 static const ClassInfo info; 68 68 69 static PassRefPtr<Structure> createStructure(JSValue proto) { return Structure::create(proto, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | NeedsThisConversion )); }69 static PassRefPtr<Structure> createStructure(JSValue proto) { return Structure::create(proto, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | NeedsThisConversion | OverridesMarkChildren)); } 70 70 71 71 private: -
trunk/JavaScriptCore/runtime/JSArray.h
r49607 r49649 88 88 static PassRefPtr<Structure> createStructure(JSValue prototype) 89 89 { 90 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot ));90 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | OverridesMarkChildren)); 91 91 } 92 92 … … 158 158 { 159 159 ASSERT(Heap::isCellMarked(cell)); 160 if ( cell->structure()->typeInfo().hasDefaultMark()) {160 if (!cell->structure()->typeInfo().overridesMarkChildren()) { 161 161 #ifdef NDEBUG 162 162 asObject(cell)->markChildrenDirect(*this); -
trunk/JavaScriptCore/runtime/JSByteArray.cpp
r49607 r49649 46 46 PassRefPtr<Structure> JSByteArray::createStructure(JSValue prototype) 47 47 { 48 PassRefPtr<Structure> result = Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | HasDefaultMark));48 PassRefPtr<Structure> result = Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot)); 49 49 return result; 50 50 } -
trunk/JavaScriptCore/runtime/JSFunction.h
r49607 r49649 62 62 static PassRefPtr<Structure> createStructure(JSValue prototype) 63 63 { 64 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | ImplementsHasInstance ));64 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | ImplementsHasInstance | OverridesMarkChildren)); 65 65 } 66 66 -
trunk/JavaScriptCore/runtime/JSGlobalObject.h
r49607 r49649 268 268 static PassRefPtr<Structure> createStructure(JSValue prototype) 269 269 { 270 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot ));270 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | OverridesMarkChildren)); 271 271 } 272 272 -
trunk/JavaScriptCore/runtime/JSNotAnObject.h
r48336 r49649 63 63 static PassRefPtr<Structure> createStructure(JSValue prototype) 64 64 { 65 return Structure::create(prototype, TypeInfo(ObjectType ));65 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | OverridesMarkChildren)); 66 66 } 67 67 -
trunk/JavaScriptCore/runtime/JSNumberCell.h
r49607 r49649 77 77 } 78 78 79 static PassRefPtr<Structure> createStructure(JSValue proto) { return Structure::create(proto, TypeInfo(NumberType, OverridesGetOwnPropertySlot | NeedsThisConversion | HasDefaultMark)); }79 static PassRefPtr<Structure> createStructure(JSValue proto) { return Structure::create(proto, TypeInfo(NumberType, OverridesGetOwnPropertySlot | NeedsThisConversion)); } 80 80 81 81 private: -
trunk/JavaScriptCore/runtime/JSONObject.h
r49607 r49649 42 42 static PassRefPtr<Structure> createStructure(JSValue prototype) 43 43 { 44 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | HasDefault Mark | HasDefaultGetPropertyNames));44 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | HasDefaultGetPropertyNames)); 45 45 } 46 46 -
trunk/JavaScriptCore/runtime/JSObject.h
r49607 r49649 208 208 static PassRefPtr<Structure> createStructure(JSValue prototype) 209 209 { 210 return Structure::create(prototype, TypeInfo(ObjectType, HasDefault Mark | HasDefaultGetPropertyNames));210 return Structure::create(prototype, TypeInfo(ObjectType, HasDefaultGetPropertyNames)); 211 211 } 212 212 -
trunk/JavaScriptCore/runtime/JSPropertyNameIterator.h
r47799 r49649 52 52 static PassRefPtr<Structure> createStructure(JSValue prototype) 53 53 { 54 return Structure::create(prototype, TypeInfo(CompoundType ));54 return Structure::create(prototype, TypeInfo(CompoundType, OverridesMarkChildren)); 55 55 } 56 56 private: -
trunk/JavaScriptCore/runtime/JSStaticScopeObject.h
r49607 r49649 58 58 void putWithAttributes(ExecState*, const Identifier&, JSValue, unsigned attributes); 59 59 60 static PassRefPtr<Structure> createStructure(JSValue proto) { return Structure::create(proto, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | NeedsThisConversion )); }60 static PassRefPtr<Structure> createStructure(JSValue proto) { return Structure::create(proto, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | NeedsThisConversion | OverridesMarkChildren)); } 61 61 62 62 private: -
trunk/JavaScriptCore/runtime/JSString.h
r49607 r49649 93 93 JSString* getIndex(JSGlobalData*, unsigned); 94 94 95 static PassRefPtr<Structure> createStructure(JSValue proto) { return Structure::create(proto, TypeInfo(StringType, OverridesGetOwnPropertySlot | NeedsThisConversion | HasDefaultMark)); }95 static PassRefPtr<Structure> createStructure(JSValue proto) { return Structure::create(proto, TypeInfo(StringType, OverridesGetOwnPropertySlot | NeedsThisConversion)); } 96 96 97 97 private: -
trunk/JavaScriptCore/runtime/JSTypeInfo.h
r49607 r49649 42 42 static const unsigned NeedsThisConversion = 1 << 4; 43 43 static const unsigned OverridesGetOwnPropertySlot = 1 << 5; 44 static const unsigned HasDefaultMark= 1 << 6;44 static const unsigned OverridesMarkChildren = 1 << 6; 45 45 static const unsigned HasDefaultGetPropertyNames = 1 << 7; 46 46 … … 65 65 bool needsThisConversion() const { return m_flags & NeedsThisConversion; } 66 66 bool overridesGetOwnPropertySlot() const { return m_flags & OverridesGetOwnPropertySlot; } 67 bool hasDefaultMark() const { return m_flags & HasDefaultMark; }67 bool overridesMarkChildren() const { return m_flags & OverridesMarkChildren; } 68 68 bool hasDefaultGetPropertyNames() const { return m_flags & HasDefaultGetPropertyNames; } 69 69 unsigned flags() const { return m_flags; } -
trunk/JavaScriptCore/runtime/JSVariableObject.h
r49607 r49649 61 61 static PassRefPtr<Structure> createStructure(JSValue prototype) 62 62 { 63 return Structure::create(prototype, TypeInfo(ObjectType , HasDefaultMark));63 return Structure::create(prototype, TypeInfo(ObjectType)); 64 64 } 65 65 -
trunk/JavaScriptCore/runtime/JSWrapperObject.h
r49607 r49649 39 39 static PassRefPtr<Structure> createStructure(JSValue prototype) 40 40 { 41 return Structure::create(prototype, TypeInfo(ObjectType, HasDefaultGetPropertyNames | HasDefaultMark));41 return Structure::create(prototype, TypeInfo(ObjectType, HasDefaultGetPropertyNames)); 42 42 } 43 43 -
trunk/JavaScriptCore/runtime/MathObject.h
r49607 r49649 38 38 static PassRefPtr<Structure> createStructure(JSValue prototype) 39 39 { 40 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | HasDefault Mark | HasDefaultGetPropertyNames));40 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | HasDefaultGetPropertyNames)); 41 41 } 42 42 }; -
trunk/JavaScriptCore/runtime/NumberConstructor.h
r49607 r49649 40 40 static PassRefPtr<Structure> createStructure(JSValue proto) 41 41 { 42 return Structure::create(proto, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | ImplementsHasInstance | HasDefault Mark | HasDefaultGetPropertyNames));42 return Structure::create(proto, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | ImplementsHasInstance | HasDefaultGetPropertyNames)); 43 43 } 44 44 -
trunk/JavaScriptCore/runtime/NumberObject.h
r49607 r49649 34 34 static PassRefPtr<Structure> createStructure(JSValue prototype) 35 35 { 36 return Structure::create(prototype, TypeInfo(ObjectType, HasDefaultGetPropertyNames ));36 return Structure::create(prototype, TypeInfo(ObjectType, HasDefaultGetPropertyNames | OverridesMarkChildren)); 37 37 } 38 38 #else 39 39 static PassRefPtr<Structure> createStructure(JSValue prototype) 40 40 { 41 return Structure::create(prototype, TypeInfo(ObjectType, HasDefault Mark | HasDefaultGetPropertyNames));41 return Structure::create(prototype, TypeInfo(ObjectType, HasDefaultGetPropertyNames)); 42 42 } 43 43 #endif -
trunk/JavaScriptCore/runtime/RegExpConstructor.h
r49607 r49649 60 60 static PassRefPtr<Structure> createStructure(JSValue prototype) 61 61 { 62 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | ImplementsHasInstance | HasDefault Mark | HasDefaultGetPropertyNames));62 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | ImplementsHasInstance | HasDefaultGetPropertyNames)); 63 63 } 64 64 -
trunk/JavaScriptCore/runtime/RegExpObject.h
r49607 r49649 50 50 static PassRefPtr<Structure> createStructure(JSValue prototype) 51 51 { 52 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | HasDefault Mark | HasDefaultGetPropertyNames));52 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | HasDefaultGetPropertyNames)); 53 53 } 54 54 -
trunk/JavaScriptCore/runtime/StringObject.h
r49607 r49649 49 49 static PassRefPtr<Structure> createStructure(JSValue prototype) 50 50 { 51 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot ));51 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | OverridesMarkChildren)); 52 52 } 53 53 -
trunk/JavaScriptCore/runtime/StringObjectThatMasqueradesAsUndefined.h
r49607 r49649 45 45 static PassRefPtr<Structure> createStructure(JSValue proto) 46 46 { 47 return Structure::create(proto, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | MasqueradesAsUndefined | HasDefaultMark));47 return Structure::create(proto, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | MasqueradesAsUndefined)); 48 48 } 49 49 -
trunk/JavaScriptGlue/ChangeLog
r49607 r49649 1 2009-10-15 Oliver Hunt <oliver@apple.com> 2 3 Reviewed by Darin Adler. 4 5 Make typeinfo flags default to false 6 https://bugs.webkit.org/show_bug.cgi?id=30372 7 8 Part 2 -- Reverse the TypeInfo HasDefaultMark flag to OverridesMarkChildren, etc 9 10 * UserObjectImp.h: 11 (UserObjectImp::createStructure): 12 1 13 2009-10-14 Oliver Hunt <oliver@apple.com> 2 14 -
trunk/JavaScriptGlue/UserObjectImp.h
r49607 r49649 62 62 static PassRefPtr<Structure> createStructure(JSValue prototype) 63 63 { 64 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot ));64 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | OverridesMarkChildren)); 65 65 } 66 66 -
trunk/WebCore/ChangeLog
r49648 r49649 1 2009-10-15 Oliver Hunt <oliver@apple.com> 2 3 Reviewed by Darin Adler. 4 5 Make typeinfo flags default to false 6 https://bugs.webkit.org/show_bug.cgi?id=30372 7 8 Part 2 -- Reverse the TypeInfo HasDefaultMark flag to OverridesMarkChildren, etc 9 10 * bindings/js/JSDOMBinding.h: 11 (WebCore::DOMObjectWithGlobalPointer::createStructure): 12 (WebCore::DOMConstructorObject::createStructure): 13 * bindings/js/JSDOMWindowShell.h: 14 (WebCore::JSDOMWindowShell::createStructure): 15 * bindings/js/JSHTMLAllCollection.h: 16 (WebCore::JSHTMLAllCollection::createStructure): 17 * bindings/js/JSQuarantinedObjectWrapper.h: 18 (WebCore::JSQuarantinedObjectWrapper::createStructure): 19 * bindings/scripts/CodeGeneratorJS.pm: 20 * bridge/qt/qt_runtime.h: 21 (JSC::Bindings::QtRuntimeMethod::createStructure): 22 * bridge/runtime_method.h: 23 (JSC::RuntimeMethod::createStructure): 24 1 25 2009-10-15 Pavel Feldman <pfeldman@chromium.org> 2 26 -
trunk/WebCore/bindings/js/JSDOMBinding.h
r49607 r49649 77 77 static PassRefPtr<JSC::Structure> createStructure(JSC::JSValue prototype) 78 78 { 79 return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType ));79 return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType, JSC::OverridesMarkChildren)); 80 80 } 81 81 … … 107 107 static PassRefPtr<JSC::Structure> createStructure(JSC::JSValue prototype) 108 108 { 109 return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType, JSC::ImplementsHasInstance ));109 return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType, JSC::ImplementsHasInstance | JSC::OverridesMarkChildren)); 110 110 } 111 111 -
trunk/WebCore/bindings/js/JSDOMWindowShell.h
r49607 r49649 61 61 static PassRefPtr<JSC::Structure> createStructure(JSC::JSValue prototype) 62 62 { 63 return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType, JSC::OverridesGetOwnPropertySlot ));63 return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType, JSC::OverridesGetOwnPropertySlot | JSC::OverridesMarkChildren)); 64 64 } 65 65 -
trunk/WebCore/bindings/js/JSHTMLAllCollection.h
r49607 r49649 43 43 static PassRefPtr<JSC::Structure> createStructure(JSC::JSValue proto) 44 44 { 45 return JSC::Structure::create(proto, JSC::TypeInfo(JSC::ObjectType, JSC::OverridesGetOwnPropertySlot | JSC::MasqueradesAsUndefined ));45 return JSC::Structure::create(proto, JSC::TypeInfo(JSC::ObjectType, JSC::OverridesGetOwnPropertySlot | JSC::MasqueradesAsUndefined | JSC::OverridesMarkChildren)); 46 46 } 47 47 -
trunk/WebCore/bindings/js/JSQuarantinedObjectWrapper.h
r49607 r49649 48 48 static PassRefPtr<JSC::Structure> createStructure(JSC::JSValue proto) 49 49 { 50 return JSC::Structure::create(proto, JSC::TypeInfo(JSC::ObjectType, JSC::OverridesGetOwnPropertySlot | JSC::ImplementsHasInstance | JSC::OverridesHasInstance ));50 return JSC::Structure::create(proto, JSC::TypeInfo(JSC::ObjectType, JSC::OverridesGetOwnPropertySlot | JSC::ImplementsHasInstance | JSC::OverridesHasInstance | JSC::OverridesMarkChildren)); 51 51 } 52 52 -
trunk/WebCore/bindings/scripts/CodeGeneratorJS.pm
r49607 r49649 606 606 " static PassRefPtr<JSC::Structure> createStructure(JSC::JSValue prototype)\n" . 607 607 " {\n" . 608 " return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType, JSC::OverridesGetOwnPropertySlot | JSC::ImplementsHasInstance | JSC::NeedsThisConversion ));\n" .608 " return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType, JSC::OverridesGetOwnPropertySlot | JSC::ImplementsHasInstance | JSC::NeedsThisConversion | JSC::OverridesMarkChildren));\n" . 609 609 " }\n\n"); 610 610 } elsif ($hasGetter) { … … 612 612 " static PassRefPtr<JSC::Structure> createStructure(JSC::JSValue prototype)\n" . 613 613 " {\n" . 614 " return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType, JSC::OverridesGetOwnPropertySlot ));\n" .614 " return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType, JSC::OverridesGetOwnPropertySlot | JSC::OverridesMarkChildren));\n" . 615 615 " }\n\n"); 616 616 } … … 792 792 " static PassRefPtr<JSC::Structure> createStructure(JSC::JSValue prototype)\n" . 793 793 " {\n" . 794 " return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType, JSC::OverridesGetOwnPropertySlot" . ($needsMarkChildren ? " " : " | JSC::HasDefaultMark") . "));\n" .794 " return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType, JSC::OverridesGetOwnPropertySlot" . ($needsMarkChildren ? " | JSC::OverridesMarkChildren" : "") . "));\n" . 795 795 " }\n"); 796 796 } elsif ($dataNode->extendedAttributes->{"CustomMarkFunction"}) { … … 798 798 " static PassRefPtr<JSC::Structure> createStructure(JSC::JSValue prototype)\n" . 799 799 " {\n" . 800 " return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType, JSC::OverridesGetOwnPropertySlot ));\n" .800 " return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType, JSC::OverridesGetOwnPropertySlot | JSC::OverridesMarkChildren));\n" . 801 801 " }\n"); 802 802 } … … 2254 2254 static PassRefPtr<Structure> createStructure(JSValue proto) 2255 2255 { 2256 return Structure::create(proto, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | ImplementsHasInstance ));2256 return Structure::create(proto, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | ImplementsHasInstance | OverridesMarkChildren)); 2257 2257 } 2258 2258 EOF -
trunk/WebCore/bridge/qt/qt_runtime.h
r47030 r49649 152 152 static PassRefPtr<Structure> createStructure(JSValue prototype) 153 153 { 154 return Structure::create(prototype, TypeInfo(ObjectType ));154 return Structure::create(prototype, TypeInfo(ObjectType, JSC::OverridesGetOwnPropertySlot | JSC::HasNonDefaultMark)); 155 155 } 156 156 -
trunk/WebCore/bridge/runtime_method.h
r49607 r49649 48 48 static PassRefPtr<Structure> createStructure(JSValue prototype) 49 49 { 50 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | ImplementsHasInstance ));50 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | ImplementsHasInstance | OverridesMarkChildren)); 51 51 } 52 52
Note: See TracChangeset
for help on using the changeset viewer.