Changeset 49607 in webkit
- Timestamp:
- Oct 14, 2009, 8:24:17 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 44 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/API/JSCallbackConstructor.h
r48836 r49607 42 42 static PassRefPtr<Structure> createStructure(JSValue proto) 43 43 { 44 return Structure::create(proto, TypeInfo(ObjectType, ImplementsHasInstance | Has StandardGetOwnPropertySlot | HasDefaultMark | HasDefaultGetPropertyNames));44 return Structure::create(proto, TypeInfo(ObjectType, ImplementsHasInstance | HasDefaultMark | HasDefaultGetPropertyNames)); 45 45 } 46 46 -
trunk/JavaScriptCore/API/JSCallbackFunction.h
r47267 r49607 42 42 static PassRefPtr<Structure> createStructure(JSValue proto) 43 43 { 44 return Structure::create(proto, TypeInfo(ObjectType, Has StandardGetOwnPropertySlot | HasDefaultMark));44 return Structure::create(proto, TypeInfo(ObjectType, HasDefaultMark)); 45 45 } 46 46 -
trunk/JavaScriptCore/API/JSCallbackObject.h
r48836 r49607 51 51 static PassRefPtr<Structure> createStructure(JSValue proto) 52 52 { 53 return Structure::create(proto, TypeInfo(ObjectType, ImplementsHasInstance | OverridesHasInstance));53 return Structure::create(proto, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | ImplementsHasInstance | OverridesHasInstance)); 54 54 } 55 55 -
trunk/JavaScriptCore/ChangeLog
r49585 r49607 1 2009-10-14 Oliver Hunt <[email protected]> 2 3 Reviewed by Geoff Garen. 4 5 Make typeinfo flags default to false 6 https://bugs.webkit.org/show_bug.cgi?id=30372 7 8 Part 1. Reverse the HasStandardGetOwnPropertySlot flag. 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 * jit/JITStubs.cpp: 19 (JSC::DEFINE_STUB_FUNCTION): 20 * runtime/Arguments.h: 21 (JSC::Arguments::createStructure): 22 * runtime/BooleanObject.h: 23 (JSC::BooleanObject::createStructure): 24 * runtime/DatePrototype.h: 25 (JSC::DatePrototype::createStructure): 26 * runtime/FunctionPrototype.h: 27 (JSC::FunctionPrototype::createStructure): 28 * runtime/GlobalEvalFunction.h: 29 (JSC::GlobalEvalFunction::createStructure): 30 * runtime/InternalFunction.h: 31 (JSC::InternalFunction::createStructure): 32 * runtime/JSActivation.h: 33 (JSC::JSActivation::createStructure): 34 * runtime/JSArray.h: 35 (JSC::JSArray::createStructure): 36 * runtime/JSByteArray.cpp: 37 (JSC::JSByteArray::createStructure): 38 * runtime/JSFunction.h: 39 (JSC::JSFunction::createStructure): 40 * runtime/JSGlobalObject.h: 41 (JSC::JSGlobalObject::createStructure): 42 * runtime/JSNumberCell.h: 43 (JSC::JSNumberCell::createStructure): 44 * runtime/JSONObject.h: 45 (JSC::JSONObject::createStructure): 46 * runtime/JSObject.h: 47 (JSC::JSObject::createStructure): 48 (JSC::JSCell::fastGetOwnPropertySlot): 49 * runtime/JSStaticScopeObject.h: 50 (JSC::JSStaticScopeObject::createStructure): 51 * runtime/JSString.h: 52 (JSC::JSString::createStructure): 53 * runtime/JSTypeInfo.h: 54 (JSC::TypeInfo::overridesGetOwnPropertySlot): 55 * runtime/JSVariableObject.h: 56 (JSC::JSVariableObject::createStructure): 57 * runtime/JSWrapperObject.h: 58 (JSC::JSWrapperObject::createStructure): 59 * runtime/MathObject.h: 60 (JSC::MathObject::createStructure): 61 * runtime/NumberConstructor.h: 62 (JSC::NumberConstructor::createStructure): 63 * runtime/NumberObject.h: 64 (JSC::NumberObject::createStructure): 65 * runtime/RegExpConstructor.h: 66 (JSC::RegExpConstructor::createStructure): 67 * runtime/RegExpObject.h: 68 (JSC::RegExpObject::createStructure): 69 * runtime/StringObject.h: 70 (JSC::StringObject::createStructure): 71 * runtime/StringObjectThatMasqueradesAsUndefined.h: 72 (JSC::StringObjectThatMasqueradesAsUndefined::createStructure): 73 74 2009-10-14 Kevin Ollivier <[email protected]> 1 75 2009-10-14 Darin Adler <[email protected]> 2 76 -
trunk/JavaScriptCore/debugger/DebuggerActivation.h
r48542 r49607 52 52 static PassRefPtr<Structure> createStructure(JSValue prototype) 53 53 { 54 return Structure::create(prototype, TypeInfo(ObjectType, HasDefaultGetPropertyNames));54 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | HasDefaultGetPropertyNames)); 55 55 } 56 56 -
trunk/JavaScriptCore/jit/JITStubs.cpp
r49509 r49607 1419 1419 // ECMA-262 15.3.5.3: 1420 1420 // Throw an exception either if baseVal is not an object, or if it does not implement 'HasInstance' (i.e. is a function). 1421 TypeInfo typeInfo(UnspecifiedType , 0);1421 TypeInfo typeInfo(UnspecifiedType); 1422 1422 if (!baseVal.isObject() || !(typeInfo = asObject(baseVal)->structure()->typeInfo()).implementsHasInstance()) { 1423 1423 CallFrame* callFrame = stackFrame.callFrame; -
trunk/JavaScriptCore/runtime/Arguments.h
r47780 r49607 86 86 static PassRefPtr<Structure> createStructure(JSValue prototype) 87 87 { 88 return Structure::create(prototype, TypeInfo(ObjectType ));88 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot)); 89 89 } 90 90 -
trunk/JavaScriptCore/runtime/BooleanObject.h
r48836 r49607 35 35 static PassRefPtr<Structure> createStructure(JSValue prototype) 36 36 { 37 return Structure::create(prototype, TypeInfo(ObjectType, Has StandardGetOwnPropertySlot | HasDefaultMark | HasDefaultGetPropertyNames));37 return Structure::create(prototype, TypeInfo(ObjectType, HasDefaultMark | HasDefaultGetPropertyNames)); 38 38 } 39 39 }; -
trunk/JavaScriptCore/runtime/DatePrototype.h
r48836 r49607 40 40 static PassRefPtr<Structure> createStructure(JSValue prototype) 41 41 { 42 return Structure::create(prototype, TypeInfo(ObjectType, HasDefaultGetPropertyNames));42 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | HasDefaultGetPropertyNames)); 43 43 } 44 44 }; -
trunk/JavaScriptCore/runtime/FunctionPrototype.h
r48836 r49607 35 35 static PassRefPtr<Structure> createStructure(JSValue proto) 36 36 { 37 return Structure::create(proto, TypeInfo(ObjectType, Has StandardGetOwnPropertySlot | HasDefaultMark | HasDefaultGetPropertyNames));37 return Structure::create(proto, TypeInfo(ObjectType, HasDefaultMark | HasDefaultGetPropertyNames)); 38 38 } 39 39 -
trunk/JavaScriptCore/runtime/GlobalEvalFunction.h
r48836 r49607 38 38 static PassRefPtr<Structure> createStructure(JSValue prototype) 39 39 { 40 return Structure::create(prototype, TypeInfo(ObjectType, ImplementsHasInstance | HasStandardGetOwnPropertySlot));40 return Structure::create(prototype, TypeInfo(ObjectType, ImplementsHasInstance)); 41 41 } 42 42 -
trunk/JavaScriptCore/runtime/InternalFunction.h
r48836 r49607 43 43 static PassRefPtr<Structure> createStructure(JSValue proto) 44 44 { 45 return Structure::create(proto, TypeInfo(ObjectType, ImplementsHasInstance | Has StandardGetOwnPropertySlot | HasDefaultMark));45 return Structure::create(proto, TypeInfo(ObjectType, ImplementsHasInstance | HasDefaultMark)); 46 46 } 47 47 -
trunk/JavaScriptCore/runtime/JSActivation.h
r48836 r49607 67 67 static const ClassInfo info; 68 68 69 static PassRefPtr<Structure> createStructure(JSValue proto) { return Structure::create(proto, TypeInfo(ObjectType, NeedsThisConversion)); }69 static PassRefPtr<Structure> createStructure(JSValue proto) { return Structure::create(proto, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | NeedsThisConversion)); } 70 70 71 71 private: -
trunk/JavaScriptCore/runtime/JSArray.h
r49065 r49607 88 88 static PassRefPtr<Structure> createStructure(JSValue prototype) 89 89 { 90 return Structure::create(prototype, TypeInfo(ObjectType ));90 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot)); 91 91 } 92 92 -
trunk/JavaScriptCore/runtime/JSByteArray.cpp
r48836 r49607 46 46 PassRefPtr<Structure> JSByteArray::createStructure(JSValue prototype) 47 47 { 48 PassRefPtr<Structure> result = Structure::create(prototype, TypeInfo(ObjectType, HasDefaultMark));48 PassRefPtr<Structure> result = Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | HasDefaultMark)); 49 49 return result; 50 50 } -
trunk/JavaScriptCore/runtime/JSFunction.h
r48836 r49607 62 62 static PassRefPtr<Structure> createStructure(JSValue prototype) 63 63 { 64 return Structure::create(prototype, TypeInfo(ObjectType, ImplementsHasInstance));64 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | ImplementsHasInstance)); 65 65 } 66 66 -
trunk/JavaScriptCore/runtime/JSGlobalObject.h
r48883 r49607 268 268 static PassRefPtr<Structure> createStructure(JSValue prototype) 269 269 { 270 return Structure::create(prototype, TypeInfo(ObjectType ));270 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot)); 271 271 } 272 272 -
trunk/JavaScriptCore/runtime/JSNumberCell.h
r49365 r49607 77 77 } 78 78 79 static PassRefPtr<Structure> createStructure(JSValue proto) { return Structure::create(proto, TypeInfo(NumberType, NeedsThisConversion | HasDefaultMark)); }79 static PassRefPtr<Structure> createStructure(JSValue proto) { return Structure::create(proto, TypeInfo(NumberType, OverridesGetOwnPropertySlot | NeedsThisConversion | HasDefaultMark)); } 80 80 81 81 private: -
trunk/JavaScriptCore/runtime/JSONObject.h
r48836 r49607 42 42 static PassRefPtr<Structure> createStructure(JSValue prototype) 43 43 { 44 return Structure::create(prototype, TypeInfo(ObjectType, HasDefaultMark | HasDefaultGetPropertyNames));44 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | HasDefaultMark | HasDefaultGetPropertyNames)); 45 45 } 46 46 -
trunk/JavaScriptCore/runtime/JSObject.h
r49398 r49607 208 208 static PassRefPtr<Structure> createStructure(JSValue prototype) 209 209 { 210 return Structure::create(prototype, TypeInfo(ObjectType, Has StandardGetOwnPropertySlot | HasDefaultMark | HasDefaultGetPropertyNames));210 return Structure::create(prototype, TypeInfo(ObjectType, HasDefaultMark | HasDefaultGetPropertyNames)); 211 211 } 212 212 … … 369 369 ALWAYS_INLINE bool JSCell::fastGetOwnPropertySlot(ExecState* exec, const Identifier& propertyName, PropertySlot& slot) 370 370 { 371 if ( structure()->typeInfo().hasStandardGetOwnPropertySlot())371 if (!structure()->typeInfo().overridesGetOwnPropertySlot()) 372 372 return asObject(this)->inlineGetOwnPropertySlot(exec, propertyName, slot); 373 373 return getOwnPropertySlot(exec, propertyName, slot); -
trunk/JavaScriptCore/runtime/JSStaticScopeObject.h
r47022 r49607 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, NeedsThisConversion)); }60 static PassRefPtr<Structure> createStructure(JSValue proto) { return Structure::create(proto, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | NeedsThisConversion)); } 61 61 62 62 private: -
trunk/JavaScriptCore/runtime/JSString.h
r49365 r49607 93 93 JSString* getIndex(JSGlobalData*, unsigned); 94 94 95 static PassRefPtr<Structure> createStructure(JSValue proto) { return Structure::create(proto, TypeInfo(StringType, NeedsThisConversion | HasDefaultMark)); }95 static PassRefPtr<Structure> createStructure(JSValue proto) { return Structure::create(proto, TypeInfo(StringType, OverridesGetOwnPropertySlot | NeedsThisConversion | HasDefaultMark)); } 96 96 97 97 private: -
trunk/JavaScriptCore/runtime/JSTypeInfo.h
r48331 r49607 41 41 static const unsigned ImplementsDefaultHasInstance = 1 << 3; 42 42 static const unsigned NeedsThisConversion = 1 << 4; 43 static const unsigned HasStandardGetOwnPropertySlot = 1 << 5;43 static const unsigned OverridesGetOwnPropertySlot = 1 << 5; 44 44 static const unsigned HasDefaultMark = 1 << 6; 45 45 static const unsigned HasDefaultGetPropertyNames = 1 << 7; … … 64 64 bool overridesHasInstance() const { return m_flags & OverridesHasInstance; } 65 65 bool needsThisConversion() const { return m_flags & NeedsThisConversion; } 66 bool hasStandardGetOwnPropertySlot() const { return m_flags & HasStandardGetOwnPropertySlot; }66 bool overridesGetOwnPropertySlot() const { return m_flags & OverridesGetOwnPropertySlot; } 67 67 bool hasDefaultMark() const { return m_flags & HasDefaultMark; } 68 68 bool hasDefaultGetPropertyNames() const { return m_flags & HasDefaultGetPropertyNames; } -
trunk/JavaScriptCore/runtime/JSVariableObject.h
r48836 r49607 61 61 static PassRefPtr<Structure> createStructure(JSValue prototype) 62 62 { 63 return Structure::create(prototype, TypeInfo(ObjectType, Has StandardGetOwnPropertySlot | HasDefaultMark));63 return Structure::create(prototype, TypeInfo(ObjectType, HasDefaultMark)); 64 64 } 65 65 -
trunk/JavaScriptCore/runtime/JSWrapperObject.h
r48836 r49607 39 39 static PassRefPtr<Structure> createStructure(JSValue prototype) 40 40 { 41 return Structure::create(prototype, TypeInfo(ObjectType, Has StandardGetOwnPropertySlot | HasDefaultGetPropertyNames | HasDefaultMark));41 return Structure::create(prototype, TypeInfo(ObjectType, HasDefaultGetPropertyNames | HasDefaultMark)); 42 42 } 43 43 -
trunk/JavaScriptCore/runtime/MathObject.h
r48836 r49607 38 38 static PassRefPtr<Structure> createStructure(JSValue prototype) 39 39 { 40 return Structure::create(prototype, TypeInfo(ObjectType, HasDefaultMark | HasDefaultGetPropertyNames));40 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | HasDefaultMark | HasDefaultGetPropertyNames)); 41 41 } 42 42 }; -
trunk/JavaScriptCore/runtime/NumberConstructor.h
r48836 r49607 40 40 static PassRefPtr<Structure> createStructure(JSValue proto) 41 41 { 42 return Structure::create(proto, TypeInfo(ObjectType, ImplementsHasInstance | HasDefaultMark | HasDefaultGetPropertyNames));42 return Structure::create(proto, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | ImplementsHasInstance | HasDefaultMark | HasDefaultGetPropertyNames)); 43 43 } 44 44 -
trunk/JavaScriptCore/runtime/NumberObject.h
r48836 r49607 34 34 static PassRefPtr<Structure> createStructure(JSValue prototype) 35 35 { 36 return Structure::create(prototype, TypeInfo(ObjectType, Has StandardGetOwnPropertySlot | HasDefaultGetPropertyNames));36 return Structure::create(prototype, TypeInfo(ObjectType, HasDefaultGetPropertyNames)); 37 37 } 38 38 #else 39 39 static PassRefPtr<Structure> createStructure(JSValue prototype) 40 40 { 41 return Structure::create(prototype, TypeInfo(ObjectType, Has StandardGetOwnPropertySlot | HasDefaultMark | HasDefaultGetPropertyNames));41 return Structure::create(prototype, TypeInfo(ObjectType, HasDefaultMark | HasDefaultGetPropertyNames)); 42 42 } 43 43 #endif -
trunk/JavaScriptCore/runtime/RegExpConstructor.h
r49365 r49607 60 60 static PassRefPtr<Structure> createStructure(JSValue prototype) 61 61 { 62 return Structure::create(prototype, TypeInfo(ObjectType, ImplementsHasInstance | HasDefaultMark | HasDefaultGetPropertyNames));62 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | ImplementsHasInstance | HasDefaultMark | HasDefaultGetPropertyNames)); 63 63 } 64 64 -
trunk/JavaScriptCore/runtime/RegExpObject.h
r48836 r49607 50 50 static PassRefPtr<Structure> createStructure(JSValue prototype) 51 51 { 52 return Structure::create(prototype, TypeInfo(ObjectType, HasDefaultMark | HasDefaultGetPropertyNames));52 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | HasDefaultMark | HasDefaultGetPropertyNames)); 53 53 } 54 54 -
trunk/JavaScriptCore/runtime/StringObject.h
r48836 r49607 49 49 static PassRefPtr<Structure> createStructure(JSValue prototype) 50 50 { 51 return Structure::create(prototype, TypeInfo(ObjectType ));51 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot)); 52 52 } 53 53 -
trunk/JavaScriptCore/runtime/StringObjectThatMasqueradesAsUndefined.h
r48836 r49607 45 45 static PassRefPtr<Structure> createStructure(JSValue proto) 46 46 { 47 return Structure::create(proto, TypeInfo(ObjectType, MasqueradesAsUndefined | HasDefaultMark));47 return Structure::create(proto, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | MasqueradesAsUndefined | HasDefaultMark)); 48 48 } 49 49 -
trunk/JavaScriptGlue/ChangeLog
r48883 r49607 1 2009-10-14 Oliver Hunt <[email protected]> 2 3 Reviewed by Geoff Garen. 4 5 Make typeinfo flags default to false 6 https://bugs.webkit.org/show_bug.cgi?id=30372 7 8 Part 1. Reverse the HasStandardGetOwnPropertySlot flag. 9 10 * UserObjectImp.h: 11 (UserObjectImp::createStructure): 12 1 13 2009-09-28 Geoffrey Garen <[email protected]> 2 14 -
trunk/JavaScriptGlue/UserObjectImp.h
r48336 r49607 62 62 static PassRefPtr<Structure> createStructure(JSValue prototype) 63 63 { 64 return Structure::create(prototype, TypeInfo(ObjectType ));64 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot)); 65 65 } 66 66 -
trunk/WebCore/ChangeLog
r49605 r49607 1 2009-10-14 Oliver Hunt <[email protected]> 2 3 Reviewed by Geoff Garen. 4 5 Make typeinfo flags default to false 6 https://bugs.webkit.org/show_bug.cgi?id=30372 7 8 Part 1. Reverse the HasStandardGetOwnPropertySlot flag. 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/objc/objc_runtime.h: 21 (JSC::Bindings::ObjcFallbackObjectImp::createStructure): 22 * bridge/runtime_array.h: 23 (JSC::RuntimeArray::createStructure): 24 * bridge/runtime_method.h: 25 (JSC::RuntimeMethod::createStructure): 26 * bridge/runtime_object.h: 27 (JSC::RuntimeObjectImp::createStructure): 28 1 29 2009-10-14 Adam Barth <[email protected]> 2 30 -
trunk/WebCore/bindings/js/JSDOMBinding.h
r48836 r49607 77 77 static PassRefPtr<JSC::Structure> createStructure(JSC::JSValue prototype) 78 78 { 79 return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType , JSC::HasStandardGetOwnPropertySlot));79 return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType)); 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:: HasStandardGetOwnPropertySlot | JSC::ImplementsHasInstance));109 return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType, JSC::ImplementsHasInstance)); 110 110 } 111 111 -
trunk/WebCore/bindings/js/JSDOMWindowShell.h
r48542 r49607 61 61 static PassRefPtr<JSC::Structure> createStructure(JSC::JSValue prototype) 62 62 { 63 return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType ));63 return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType, JSC::OverridesGetOwnPropertySlot)); 64 64 } 65 65 -
trunk/WebCore/bindings/js/JSHTMLAllCollection.h
r48836 r49607 43 43 static PassRefPtr<JSC::Structure> createStructure(JSC::JSValue proto) 44 44 { 45 return JSC::Structure::create(proto, JSC::TypeInfo(JSC::ObjectType, JSC:: MasqueradesAsUndefined));45 return JSC::Structure::create(proto, JSC::TypeInfo(JSC::ObjectType, JSC::OverridesGetOwnPropertySlot | JSC::MasqueradesAsUndefined)); 46 46 } 47 47 -
trunk/WebCore/bindings/js/JSQuarantinedObjectWrapper.h
r48836 r49607 48 48 static PassRefPtr<JSC::Structure> createStructure(JSC::JSValue proto) 49 49 { 50 return JSC::Structure::create(proto, JSC::TypeInfo(JSC::ObjectType, JSC:: ImplementsHasInstance | JSC::OverridesHasInstance));50 return JSC::Structure::create(proto, JSC::TypeInfo(JSC::ObjectType, JSC::OverridesGetOwnPropertySlot | JSC::ImplementsHasInstance | JSC::OverridesHasInstance)); 51 51 } 52 52 -
trunk/WebCore/bindings/scripts/CodeGeneratorJS.pm
r49424 r49607 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:: ImplementsHasInstance | JSC::NeedsThisConversion));\n" .608 " return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType, JSC::OverridesGetOwnPropertySlot | JSC::ImplementsHasInstance | JSC::NeedsThisConversion));\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 ));\n" .614 " return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType, JSC::OverridesGetOwnPropertySlot));\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 " . ($needsMarkChildren ? "" : ",JSC::HasDefaultMark") . "));\n" .794 " return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType, JSC::OverridesGetOwnPropertySlot" . ($needsMarkChildren ? "" : " | JSC::HasDefaultMark") . "));\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 ));\n" .800 " return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType, JSC::OverridesGetOwnPropertySlot));\n" . 801 801 " }\n"); 802 802 } … … 2254 2254 static PassRefPtr<Structure> createStructure(JSValue proto) 2255 2255 { 2256 return Structure::create(proto, TypeInfo(ObjectType, ImplementsHasInstance));2256 return Structure::create(proto, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | ImplementsHasInstance)); 2257 2257 } 2258 2258 EOF -
trunk/WebCore/bridge/objc/objc_runtime.h
r47780 r49607 105 105 static PassRefPtr<Structure> createStructure(JSValue prototype) 106 106 { 107 return Structure::create(prototype, TypeInfo(ObjectType ));107 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot)); 108 108 } 109 109 -
trunk/WebCore/bridge/runtime_array.h
r48715 r49607 60 60 static PassRefPtr<Structure> createStructure(JSValue prototype) 61 61 { 62 return Structure::create(prototype, TypeInfo(ObjectType ));62 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot)); 63 63 } 64 64 -
trunk/WebCore/bridge/runtime_method.h
r47780 r49607 48 48 static PassRefPtr<Structure> createStructure(JSValue prototype) 49 49 { 50 return Structure::create(prototype, TypeInfo(ObjectType, ImplementsHasInstance));50 return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | ImplementsHasInstance)); 51 51 } 52 52 -
trunk/WebCore/bridge/runtime_object.h
r48836 r49607 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)); 66 66 } 67 67
Note:
See TracChangeset
for help on using the changeset viewer.