Changeset 49694 in webkit
- Timestamp:
- Oct 16, 2009 1:39:46 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 40 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/API/JSCallbackConstructor.h
r49649 r49694 42 42 static PassRefPtr<Structure> createStructure(JSValue proto) 43 43 { 44 return Structure::create(proto, TypeInfo(ObjectType, ImplementsHasInstance | HasDefaultGetPropertyNames));44 return Structure::create(proto, TypeInfo(ObjectType, ImplementsHasInstance)); 45 45 } 46 46 -
trunk/JavaScriptCore/API/JSCallbackObject.h
r49649 r49694 51 51 static PassRefPtr<Structure> createStructure(JSValue proto) 52 52 { 53 return Structure::create(proto, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | ImplementsHasInstance | OverridesHasInstance | OverridesMarkChildren ));53 return Structure::create(proto, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | ImplementsHasInstance | OverridesHasInstance | OverridesMarkChildren | OverridesGetPropertyNames)); 54 54 } 55 55 -
trunk/JavaScriptCore/ChangeLog
r49688 r49694 1 2009-10-16 Oliver Hunt <oliver@apple.com> 2 3 Reviewed by Gavin Barraclough. 4 5 Make typeinfo flags default to false 6 https://bugs.webkit.org/show_bug.cgi?id=30372 7 8 Last part -- replace HasDefaultGetPropertyNames with OverridesGetPropertyNames 9 flag. 10 11 * API/JSCallbackConstructor.h: 12 (JSC::JSCallbackConstructor::createStructure): 13 * API/JSCallbackObject.h: 14 (JSC::JSCallbackObject::createStructure): 15 * debugger/DebuggerActivation.h: 16 (JSC::DebuggerActivation::createStructure): 17 * runtime/Arguments.h: 18 (JSC::Arguments::createStructure): 19 * runtime/BooleanObject.h: 20 (JSC::BooleanObject::createStructure): 21 * runtime/DatePrototype.h: 22 (JSC::DatePrototype::createStructure): 23 * runtime/FunctionPrototype.h: 24 (JSC::FunctionPrototype::createStructure): 25 * runtime/GlobalEvalFunction.h: 26 (JSC::GlobalEvalFunction::createStructure): 27 * runtime/JSAPIValueWrapper.h: 28 (JSC::JSAPIValueWrapper::createStructure): 29 * runtime/JSActivation.h: 30 (JSC::JSActivation::createStructure): 31 * runtime/JSArray.h: 32 (JSC::JSArray::createStructure): 33 * runtime/JSByteArray.cpp: 34 (JSC::JSByteArray::createStructure): 35 * runtime/JSFunction.h: 36 (JSC::JSFunction::createStructure): 37 * runtime/JSGlobalObject.h: 38 (JSC::JSGlobalObject::createStructure): 39 * runtime/JSNotAnObject.h: 40 (JSC::JSNotAnObject::createStructure): 41 * runtime/JSONObject.h: 42 (JSC::JSONObject::createStructure): 43 * runtime/JSObject.cpp: 44 (JSC::JSObject::getPropertyNames): 45 * runtime/JSObject.h: 46 (JSC::JSObject::createStructure): 47 * runtime/JSStaticScopeObject.h: 48 (JSC::JSStaticScopeObject::createStructure): 49 * runtime/JSTypeInfo.h: 50 (JSC::TypeInfo::overridesGetPropertyNames): 51 * runtime/JSVariableObject.h: 52 (JSC::JSVariableObject::createStructure): 53 * runtime/JSWrapperObject.h: 54 (JSC::JSWrapperObject::createStructure): 55 * runtime/MathObject.h: 56 (JSC::MathObject::createStructure): 57 * runtime/NumberConstructor.h: 58 (JSC::NumberConstructor::createStructure): 59 * runtime/NumberObject.h: 60 (JSC::NumberObject::createStructure): 61 * runtime/RegExpConstructor.h: 62 (JSC::RegExpConstructor::createStructure): 63 * runtime/RegExpObject.h: 64 (JSC::RegExpObject::createStructure): 65 * runtime/StringObject.h: 66 (JSC::StringObject::createStructure): 67 * runtime/StringObjectThatMasqueradesAsUndefined.h: 68 (JSC::StringObjectThatMasqueradesAsUndefined::createStructure): 69 * runtime/StructureChain.cpp: 70 (JSC::StructureChain::isCacheable): 71 1 72 2009-10-16 Kevin Ollivier <kevino@theolliviers.com> 2 73 -
trunk/JavaScriptCore/debugger/DebuggerActivation.h
r49649 r49694 52 52 static PassRefPtr<Structure> createStructure(JSValue prototype) 53 53 { 54 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | HasDefaultGetPropertyNames |OverridesMarkChildren));54 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | OverridesMarkChildren)); 55 55 } 56 56 -
trunk/JavaScriptCore/runtime/Arguments.h
r49649 r49694 86 86 static PassRefPtr<Structure> createStructure(JSValue prototype) 87 87 { 88 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | OverridesMarkChildren ));88 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | OverridesMarkChildren | OverridesGetPropertyNames)); 89 89 } 90 90 -
trunk/JavaScriptCore/runtime/BooleanObject.h
r49649 r49694 35 35 static PassRefPtr<Structure> createStructure(JSValue prototype) 36 36 { 37 return Structure::create(prototype, TypeInfo(ObjectType , HasDefaultGetPropertyNames));37 return Structure::create(prototype, TypeInfo(ObjectType)); 38 38 } 39 39 }; -
trunk/JavaScriptCore/runtime/DatePrototype.h
r49649 r49694 40 40 static PassRefPtr<Structure> createStructure(JSValue prototype) 41 41 { 42 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | HasDefaultGetPropertyNames |OverridesMarkChildren));42 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | OverridesMarkChildren)); 43 43 } 44 44 }; -
trunk/JavaScriptCore/runtime/FunctionPrototype.h
r49649 r49694 35 35 static PassRefPtr<Structure> createStructure(JSValue proto) 36 36 { 37 return Structure::create(proto, TypeInfo(ObjectType , HasDefaultGetPropertyNames));37 return Structure::create(proto, TypeInfo(ObjectType)); 38 38 } 39 39 -
trunk/JavaScriptCore/runtime/GlobalEvalFunction.h
r49649 r49694 38 38 static PassRefPtr<Structure> createStructure(JSValue prototype) 39 39 { 40 return Structure::create(prototype, TypeInfo(ObjectType, ImplementsHasInstance | OverridesMarkChildren ));40 return Structure::create(prototype, TypeInfo(ObjectType, ImplementsHasInstance | OverridesMarkChildren | OverridesGetPropertyNames)); 41 41 } 42 42 -
trunk/JavaScriptCore/runtime/JSAPIValueWrapper.h
r49649 r49694 40 40 static PassRefPtr<Structure> createStructure(JSValue prototype) 41 41 { 42 return Structure::create(prototype, TypeInfo(CompoundType, OverridesMarkChildren ));42 return Structure::create(prototype, TypeInfo(CompoundType, OverridesMarkChildren | OverridesGetPropertyNames)); 43 43 } 44 44 -
trunk/JavaScriptCore/runtime/JSActivation.h
r49649 r49694 67 67 static const ClassInfo info; 68 68 69 static PassRefPtr<Structure> createStructure(JSValue proto) { return Structure::create(proto, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | NeedsThisConversion | OverridesMarkChildren )); }69 static PassRefPtr<Structure> createStructure(JSValue proto) { return Structure::create(proto, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | NeedsThisConversion | OverridesMarkChildren | OverridesGetPropertyNames)); } 70 70 71 71 private: -
trunk/JavaScriptCore/runtime/JSArray.h
r49649 r49694 88 88 static PassRefPtr<Structure> createStructure(JSValue prototype) 89 89 { 90 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | OverridesMarkChildren ));90 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | OverridesMarkChildren | OverridesGetPropertyNames)); 91 91 } 92 92 -
trunk/JavaScriptCore/runtime/JSByteArray.cpp
r49649 r49694 46 46 PassRefPtr<Structure> JSByteArray::createStructure(JSValue prototype) 47 47 { 48 PassRefPtr<Structure> result = Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot ));48 PassRefPtr<Structure> result = Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | OverridesGetPropertyNames)); 49 49 return result; 50 50 } -
trunk/JavaScriptCore/runtime/JSFunction.h
r49649 r49694 62 62 static PassRefPtr<Structure> createStructure(JSValue prototype) 63 63 { 64 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | ImplementsHasInstance | OverridesMarkChildren ));64 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | ImplementsHasInstance | OverridesMarkChildren | OverridesGetPropertyNames)); 65 65 } 66 66 -
trunk/JavaScriptCore/runtime/JSGlobalObject.h
r49649 r49694 268 268 static PassRefPtr<Structure> createStructure(JSValue prototype) 269 269 { 270 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | OverridesMarkChildren ));270 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | OverridesMarkChildren | OverridesGetPropertyNames)); 271 271 } 272 272 -
trunk/JavaScriptCore/runtime/JSNotAnObject.h
r49649 r49694 63 63 static PassRefPtr<Structure> createStructure(JSValue prototype) 64 64 { 65 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | OverridesMarkChildren ));65 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | OverridesMarkChildren | OverridesGetPropertyNames)); 66 66 } 67 67 -
trunk/JavaScriptCore/runtime/JSONObject.h
r49649 r49694 42 42 static PassRefPtr<Structure> createStructure(JSValue prototype) 43 43 { 44 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | HasDefaultGetPropertyNames));44 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot)); 45 45 } 46 46 -
trunk/JavaScriptCore/runtime/JSObject.cpp
r49398 r49694 463 463 JSObject* prototype = asObject(this->prototype()); 464 464 while(1) { 465 if ( !prototype->structure()->typeInfo().hasDefaultGetPropertyNames()) {465 if (prototype->structure()->typeInfo().overridesGetPropertyNames()) { 466 466 prototype->getPropertyNames(exec, propertyNames); 467 467 break; -
trunk/JavaScriptCore/runtime/JSObject.h
r49649 r49694 208 208 static PassRefPtr<Structure> createStructure(JSValue prototype) 209 209 { 210 return Structure::create(prototype, TypeInfo(ObjectType , HasDefaultGetPropertyNames));210 return Structure::create(prototype, TypeInfo(ObjectType)); 211 211 } 212 212 -
trunk/JavaScriptCore/runtime/JSStaticScopeObject.h
r49649 r49694 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 | OverridesMarkChildren )); }60 static PassRefPtr<Structure> createStructure(JSValue proto) { return Structure::create(proto, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | NeedsThisConversion | OverridesMarkChildren | OverridesGetPropertyNames)); } 61 61 62 62 private: -
trunk/JavaScriptCore/runtime/JSTypeInfo.h
r49649 r49694 43 43 static const unsigned OverridesGetOwnPropertySlot = 1 << 5; 44 44 static const unsigned OverridesMarkChildren = 1 << 6; 45 static const unsigned HasDefaultGetPropertyNames = 1 << 7;45 static const unsigned OverridesGetPropertyNames = 1 << 7; 46 46 47 47 class TypeInfo { … … 66 66 bool overridesGetOwnPropertySlot() const { return m_flags & OverridesGetOwnPropertySlot; } 67 67 bool overridesMarkChildren() const { return m_flags & OverridesMarkChildren; } 68 bool hasDefaultGetPropertyNames() const { return m_flags & HasDefaultGetPropertyNames; }68 bool overridesGetPropertyNames() const { return m_flags & OverridesGetPropertyNames; } 69 69 unsigned flags() const { return m_flags; } 70 70 -
trunk/JavaScriptCore/runtime/JSVariableObject.h
r49649 r49694 61 61 static PassRefPtr<Structure> createStructure(JSValue prototype) 62 62 { 63 return Structure::create(prototype, TypeInfo(ObjectType ));63 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetPropertyNames)); 64 64 } 65 65 -
trunk/JavaScriptCore/runtime/JSWrapperObject.h
r49649 r49694 39 39 static PassRefPtr<Structure> createStructure(JSValue prototype) 40 40 { 41 return Structure::create(prototype, TypeInfo(ObjectType , HasDefaultGetPropertyNames));41 return Structure::create(prototype, TypeInfo(ObjectType)); 42 42 } 43 43 -
trunk/JavaScriptCore/runtime/MathObject.h
r49649 r49694 38 38 static PassRefPtr<Structure> createStructure(JSValue prototype) 39 39 { 40 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | HasDefaultGetPropertyNames));40 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot)); 41 41 } 42 42 }; -
trunk/JavaScriptCore/runtime/NumberConstructor.h
r49649 r49694 40 40 static PassRefPtr<Structure> createStructure(JSValue proto) 41 41 { 42 return Structure::create(proto, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | ImplementsHasInstance | HasDefaultGetPropertyNames));42 return Structure::create(proto, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | ImplementsHasInstance)); 43 43 } 44 44 -
trunk/JavaScriptCore/runtime/NumberObject.h
r49649 r49694 34 34 static PassRefPtr<Structure> createStructure(JSValue prototype) 35 35 { 36 return Structure::create(prototype, TypeInfo(ObjectType, HasDefaultGetPropertyNames |OverridesMarkChildren));36 return Structure::create(prototype, TypeInfo(ObjectType, OverridesMarkChildren)); 37 37 } 38 38 #else 39 39 static PassRefPtr<Structure> createStructure(JSValue prototype) 40 40 { 41 return Structure::create(prototype, TypeInfo(ObjectType , HasDefaultGetPropertyNames));41 return Structure::create(prototype, TypeInfo(ObjectType)); 42 42 } 43 43 #endif -
trunk/JavaScriptCore/runtime/RegExpConstructor.h
r49649 r49694 60 60 static PassRefPtr<Structure> createStructure(JSValue prototype) 61 61 { 62 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | ImplementsHasInstance | HasDefaultGetPropertyNames));62 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | ImplementsHasInstance)); 63 63 } 64 64 -
trunk/JavaScriptCore/runtime/RegExpObject.h
r49649 r49694 50 50 static PassRefPtr<Structure> createStructure(JSValue prototype) 51 51 { 52 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | HasDefaultGetPropertyNames));52 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot)); 53 53 } 54 54 -
trunk/JavaScriptCore/runtime/StringObject.h
r49649 r49694 49 49 static PassRefPtr<Structure> createStructure(JSValue prototype) 50 50 { 51 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | OverridesMarkChildren ));51 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | OverridesMarkChildren | OverridesGetPropertyNames)); 52 52 } 53 53 -
trunk/JavaScriptCore/runtime/StringObjectThatMasqueradesAsUndefined.h
r49649 r49694 45 45 static PassRefPtr<Structure> createStructure(JSValue proto) 46 46 { 47 return Structure::create(proto, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | MasqueradesAsUndefined ));47 return Structure::create(proto, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | MasqueradesAsUndefined | OverridesGetPropertyNames)); 48 48 } 49 49 -
trunk/JavaScriptCore/runtime/StructureChain.cpp
r48582 r49694 55 55 if (m_vector[i]->isDictionary()) 56 56 return false; 57 if ( !m_vector[i++]->typeInfo().hasDefaultGetPropertyNames())57 if (m_vector[i++]->typeInfo().overridesGetPropertyNames()) 58 58 return false; 59 59 } -
trunk/JavaScriptGlue/ChangeLog
r49649 r49694 1 2009-10-16 Oliver Hunt <oliver@apple.com> 2 3 Reviewed by Gavin Barraclough. 4 5 Make typeinfo flags default to false 6 https://bugs.webkit.org/show_bug.cgi?id=30372 7 8 Last part -- replace HasDefaultGetPropertyNames with OverridesGetPropertyNames 9 flag. 10 11 * UserObjectImp.h: 12 (UserObjectImp::createStructure): 13 1 14 2009-10-15 Oliver Hunt <oliver@apple.com> 2 15 -
trunk/JavaScriptGlue/UserObjectImp.h
r49649 r49694 62 62 static PassRefPtr<Structure> createStructure(JSValue prototype) 63 63 { 64 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | OverridesMarkChildren ));64 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | OverridesMarkChildren | OverridesGetPropertyNames)); 65 65 } 66 66 -
trunk/WebCore/ChangeLog
r49693 r49694 1 2009-10-16 Oliver Hunt <oliver@apple.com> 2 3 Reviewed by Gavin Barraclough. 4 5 Make typeinfo flags default to false 6 https://bugs.webkit.org/show_bug.cgi?id=30372 7 8 Last part -- replace HasDefaultGetPropertyNames with OverridesGetPropertyNames 9 flag. 10 11 * bindings/js/JSDOMWindowShell.h: 12 (WebCore::JSDOMWindowShell::createStructure): 13 * bindings/js/JSHTMLAllCollection.h: 14 (WebCore::JSHTMLAllCollection::createStructure): 15 * bindings/js/JSQuarantinedObjectWrapper.h: 16 (WebCore::JSQuarantinedObjectWrapper::createStructure): 17 * bindings/scripts/CodeGeneratorJS.pm: 18 * bridge/runtime_array.h: 19 (JSC::RuntimeArray::createStructure): 20 * bridge/runtime_object.h: 21 (JSC::RuntimeObjectImp::createStructure): 22 1 23 2009-10-16 Steven Knight <sgk@chromium.org> 2 24 -
trunk/WebCore/bindings/js/JSDOMWindowShell.h
r49649 r49694 61 61 static PassRefPtr<JSC::Structure> createStructure(JSC::JSValue prototype) 62 62 { 63 return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType, JSC::OverridesGetOwnPropertySlot | JSC::OverridesMarkChildren ));63 return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType, JSC::OverridesGetOwnPropertySlot | JSC::OverridesMarkChildren | JSC::OverridesGetPropertyNames)); 64 64 } 65 65 -
trunk/WebCore/bindings/js/JSHTMLAllCollection.h
r49649 r49694 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 | JSC::OverridesMarkChildren ));45 return JSC::Structure::create(proto, JSC::TypeInfo(JSC::ObjectType, JSC::OverridesGetOwnPropertySlot | JSC::MasqueradesAsUndefined | JSC::OverridesMarkChildren | JSC::OverridesGetPropertyNames)); 46 46 } 47 47 -
trunk/WebCore/bindings/js/JSQuarantinedObjectWrapper.h
r49649 r49694 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 | JSC::OverridesMarkChildren ));50 return JSC::Structure::create(proto, JSC::TypeInfo(JSC::ObjectType, JSC::OverridesGetOwnPropertySlot | JSC::ImplementsHasInstance | JSC::OverridesHasInstance | JSC::OverridesMarkChildren | JSC::OverridesGetPropertyNames)); 51 51 } 52 52 -
trunk/WebCore/bindings/scripts/CodeGeneratorJS.pm
r49649 r49694 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 | JSC::OverridesMarkChildren ));\n" .608 " return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType, JSC::OverridesGetOwnPropertySlot | JSC::ImplementsHasInstance | JSC::NeedsThisConversion | JSC::OverridesMarkChildren | JSC::OverridesGetPropertyNames));\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 | JSC::OverridesMarkChildren ));\n" .614 " return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType, JSC::OverridesGetOwnPropertySlot | JSC::OverridesMarkChildren | JSC::OverridesGetPropertyNames));\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::OverridesMarkChildren" : "") . " ));\n" .794 " return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType, JSC::OverridesGetOwnPropertySlot" . ($needsMarkChildren ? " | JSC::OverridesMarkChildren" : "") . " | JSC::OverridesGetPropertyNames));\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 | JSC::OverridesMarkChildren ));\n" .800 " return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType, JSC::OverridesGetOwnPropertySlot | JSC::OverridesMarkChildren | JSC::OverridesGetPropertyNames));\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 | OverridesMarkChildren ));2256 return Structure::create(proto, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | ImplementsHasInstance | OverridesMarkChildren | OverridesGetPropertyNames)); 2257 2257 } 2258 2258 EOF -
trunk/WebCore/bridge/runtime_array.h
r49607 r49694 60 60 static PassRefPtr<Structure> createStructure(JSValue prototype) 61 61 { 62 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot ));62 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | OverridesGetPropertyNames)); 63 63 } 64 64 -
trunk/WebCore/bridge/runtime_object.h
r49607 r49694 63 63 static PassRefPtr<Structure> createStructure(JSValue prototype) 64 64 { 65 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot ));65 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | OverridesGetPropertyNames)); 66 66 } 67 67
Note: See TracChangeset
for help on using the changeset viewer.