Changeset 49649 in webkit


Ignore:
Timestamp:
Oct 15, 2009 12:55:09 PM (15 years ago)
Author:
oliver@apple.com
Message:

Make typeinfo flags default to false
https://bugs.webkit.org/show_bug.cgi?id=30372

Reviewed by Darin Adler

Part 2 -- Reverse the TypeInfo HasDefaultMark flag to OverridesMarkChildren, etc

Location:
trunk
Files:
45 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/API/JSCallbackConstructor.h

    r49607 r49649  
    4242    static PassRefPtr<Structure> createStructure(JSValue proto)
    4343    {
    44         return Structure::create(proto, TypeInfo(ObjectType, ImplementsHasInstance | HasDefaultMark | HasDefaultGetPropertyNames));
     44        return Structure::create(proto, TypeInfo(ObjectType, ImplementsHasInstance | HasDefaultGetPropertyNames));
    4545    }
    4646
  • trunk/JavaScriptCore/API/JSCallbackFunction.h

    r49607 r49649  
    4242    static PassRefPtr<Structure> createStructure(JSValue proto)
    4343    {
    44         return Structure::create(proto, TypeInfo(ObjectType, HasDefaultMark));
     44        return Structure::create(proto, TypeInfo(ObjectType));
    4545    }
    4646
  • trunk/JavaScriptCore/API/JSCallbackObject.h

    r49607 r49649  
    5151    static PassRefPtr<Structure> createStructure(JSValue proto)
    5252    {
    53         return Structure::create(proto, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | ImplementsHasInstance | OverridesHasInstance));
     53        return Structure::create(proto, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | ImplementsHasInstance | OverridesHasInstance | OverridesMarkChildren));
    5454    }
    5555
  • trunk/JavaScriptCore/ChangeLog

    r49607 r49649  
     12009-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
    1802009-10-14  Oliver Hunt  <oliver@apple.com>
    281
  • trunk/JavaScriptCore/debugger/DebuggerActivation.h

    r49607 r49649  
    5252        static PassRefPtr<Structure> createStructure(JSValue prototype)
    5353        {
    54             return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | HasDefaultGetPropertyNames));
     54            return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | HasDefaultGetPropertyNames | OverridesMarkChildren));
    5555        }
    5656
  • trunk/JavaScriptCore/runtime/Arguments.h

    r49607 r49649  
    8686        static PassRefPtr<Structure> createStructure(JSValue prototype)
    8787        {
    88             return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot));
     88            return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | OverridesMarkChildren));
    8989        }
    9090
  • trunk/JavaScriptCore/runtime/BooleanObject.h

    r49607 r49649  
    3535        static PassRefPtr<Structure> createStructure(JSValue prototype)
    3636        {
    37             return Structure::create(prototype, TypeInfo(ObjectType, HasDefaultMark | HasDefaultGetPropertyNames));
     37            return Structure::create(prototype, TypeInfo(ObjectType, HasDefaultGetPropertyNames));
    3838        }
    3939    };
  • trunk/JavaScriptCore/runtime/DatePrototype.h

    r49607 r49649  
    4040        static PassRefPtr<Structure> createStructure(JSValue prototype)
    4141        {
    42             return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | HasDefaultGetPropertyNames));
     42            return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | HasDefaultGetPropertyNames | OverridesMarkChildren));
    4343        }
    4444    };
  • trunk/JavaScriptCore/runtime/FunctionPrototype.h

    r49607 r49649  
    3535        static PassRefPtr<Structure> createStructure(JSValue proto)
    3636        {
    37             return Structure::create(proto, TypeInfo(ObjectType, HasDefaultMark | HasDefaultGetPropertyNames));
     37            return Structure::create(proto, TypeInfo(ObjectType, HasDefaultGetPropertyNames));
    3838        }
    3939
  • trunk/JavaScriptCore/runtime/GetterSetter.h

    r47799 r49649  
    5151        static PassRefPtr<Structure> createStructure(JSValue prototype)
    5252        {
    53             return Structure::create(prototype, TypeInfo(GetterSetterType));
     53            return Structure::create(prototype, TypeInfo(GetterSetterType, OverridesMarkChildren));
    5454        }
    5555    private:
  • trunk/JavaScriptCore/runtime/GlobalEvalFunction.h

    r49607 r49649  
    3838        static PassRefPtr<Structure> createStructure(JSValue prototype)
    3939        {
    40             return Structure::create(prototype, TypeInfo(ObjectType, ImplementsHasInstance));
     40            return Structure::create(prototype, TypeInfo(ObjectType, ImplementsHasInstance | OverridesMarkChildren));
    4141        }
    4242
  • trunk/JavaScriptCore/runtime/InternalFunction.h

    r49607 r49649  
    4343        static PassRefPtr<Structure> createStructure(JSValue proto)
    4444        {
    45             return Structure::create(proto, TypeInfo(ObjectType, ImplementsHasInstance | HasDefaultMark));
     45            return Structure::create(proto, TypeInfo(ObjectType, ImplementsHasInstance));
    4646        }
    4747
  • trunk/JavaScriptCore/runtime/JSAPIValueWrapper.h

    r47799 r49649  
    4040        static PassRefPtr<Structure> createStructure(JSValue prototype)
    4141        {
    42             return Structure::create(prototype, TypeInfo(CompoundType));
     42            return Structure::create(prototype, TypeInfo(CompoundType, OverridesMarkChildren));
    4343        }
    4444
  • trunk/JavaScriptCore/runtime/JSActivation.h

    r49607 r49649  
    6767        static const ClassInfo info;
    6868
    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)); }
    7070
    7171    private:
  • trunk/JavaScriptCore/runtime/JSArray.h

    r49607 r49649  
    8888        static PassRefPtr<Structure> createStructure(JSValue prototype)
    8989        {
    90             return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot));
     90            return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | OverridesMarkChildren));
    9191        }
    9292       
     
    158158    {
    159159        ASSERT(Heap::isCellMarked(cell));
    160         if (cell->structure()->typeInfo().hasDefaultMark()) {
     160        if (!cell->structure()->typeInfo().overridesMarkChildren()) {
    161161#ifdef NDEBUG
    162162            asObject(cell)->markChildrenDirect(*this);
  • trunk/JavaScriptCore/runtime/JSByteArray.cpp

    r49607 r49649  
    4646PassRefPtr<Structure> JSByteArray::createStructure(JSValue prototype)
    4747{
    48     PassRefPtr<Structure> result = Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | HasDefaultMark));
     48    PassRefPtr<Structure> result = Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot));
    4949    return result;
    5050}
  • trunk/JavaScriptCore/runtime/JSFunction.h

    r49607 r49649  
    6262        static PassRefPtr<Structure> createStructure(JSValue prototype)
    6363        {
    64             return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | ImplementsHasInstance));
     64            return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | ImplementsHasInstance | OverridesMarkChildren));
    6565        }
    6666
  • trunk/JavaScriptCore/runtime/JSGlobalObject.h

    r49607 r49649  
    268268        static PassRefPtr<Structure> createStructure(JSValue prototype)
    269269        {
    270             return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot));
     270            return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | OverridesMarkChildren));
    271271        }
    272272
  • trunk/JavaScriptCore/runtime/JSNotAnObject.h

    r48336 r49649  
    6363        static PassRefPtr<Structure> createStructure(JSValue prototype)
    6464        {
    65             return Structure::create(prototype, TypeInfo(ObjectType));
     65            return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | OverridesMarkChildren));
    6666        }
    6767
  • trunk/JavaScriptCore/runtime/JSNumberCell.h

    r49607 r49649  
    7777        }
    7878
    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)); }
    8080
    8181    private:
  • trunk/JavaScriptCore/runtime/JSONObject.h

    r49607 r49649  
    4242        static PassRefPtr<Structure> createStructure(JSValue prototype)
    4343        {
    44             return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | HasDefaultMark | HasDefaultGetPropertyNames));
     44            return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | HasDefaultGetPropertyNames));
    4545        }
    4646
  • trunk/JavaScriptCore/runtime/JSObject.h

    r49607 r49649  
    208208        static PassRefPtr<Structure> createStructure(JSValue prototype)
    209209        {
    210             return Structure::create(prototype, TypeInfo(ObjectType, HasDefaultMark | HasDefaultGetPropertyNames));
     210            return Structure::create(prototype, TypeInfo(ObjectType, HasDefaultGetPropertyNames));
    211211        }
    212212
  • trunk/JavaScriptCore/runtime/JSPropertyNameIterator.h

    r47799 r49649  
    5252        static PassRefPtr<Structure> createStructure(JSValue prototype)
    5353        {
    54             return Structure::create(prototype, TypeInfo(CompoundType));
     54            return Structure::create(prototype, TypeInfo(CompoundType, OverridesMarkChildren));
    5555        }
    5656    private:
  • trunk/JavaScriptCore/runtime/JSStaticScopeObject.h

    r49607 r49649  
    5858        void putWithAttributes(ExecState*, const Identifier&, JSValue, unsigned attributes);
    5959
    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)); }
    6161
    6262    private:
  • trunk/JavaScriptCore/runtime/JSString.h

    r49607 r49649  
    9393        JSString* getIndex(JSGlobalData*, unsigned);
    9494
    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)); }
    9696
    9797    private:
  • trunk/JavaScriptCore/runtime/JSTypeInfo.h

    r49607 r49649  
    4242    static const unsigned NeedsThisConversion = 1 << 4;
    4343    static const unsigned OverridesGetOwnPropertySlot = 1 << 5;
    44     static const unsigned HasDefaultMark = 1 << 6;
     44    static const unsigned OverridesMarkChildren = 1 << 6;
    4545    static const unsigned HasDefaultGetPropertyNames = 1 << 7;
    4646
     
    6565        bool needsThisConversion() const { return m_flags & NeedsThisConversion; }
    6666        bool overridesGetOwnPropertySlot() const { return m_flags & OverridesGetOwnPropertySlot; }
    67         bool hasDefaultMark() const { return m_flags & HasDefaultMark; }
     67        bool overridesMarkChildren() const { return m_flags & OverridesMarkChildren; }
    6868        bool hasDefaultGetPropertyNames() const { return m_flags & HasDefaultGetPropertyNames; }
    6969        unsigned flags() const { return m_flags; }
  • trunk/JavaScriptCore/runtime/JSVariableObject.h

    r49607 r49649  
    6161        static PassRefPtr<Structure> createStructure(JSValue prototype)
    6262        {
    63             return Structure::create(prototype, TypeInfo(ObjectType, HasDefaultMark));
     63            return Structure::create(prototype, TypeInfo(ObjectType));
    6464        }
    6565       
  • trunk/JavaScriptCore/runtime/JSWrapperObject.h

    r49607 r49649  
    3939        static PassRefPtr<Structure> createStructure(JSValue prototype)
    4040        {
    41             return Structure::create(prototype, TypeInfo(ObjectType, HasDefaultGetPropertyNames | HasDefaultMark));
     41            return Structure::create(prototype, TypeInfo(ObjectType, HasDefaultGetPropertyNames));
    4242        }
    4343
  • trunk/JavaScriptCore/runtime/MathObject.h

    r49607 r49649  
    3838        static PassRefPtr<Structure> createStructure(JSValue prototype)
    3939        {
    40             return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | HasDefaultMark | HasDefaultGetPropertyNames));
     40            return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | HasDefaultGetPropertyNames));
    4141        }
    4242    };
  • trunk/JavaScriptCore/runtime/NumberConstructor.h

    r49607 r49649  
    4040        static PassRefPtr<Structure> createStructure(JSValue proto)
    4141        {
    42             return Structure::create(proto, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | ImplementsHasInstance | HasDefaultMark | HasDefaultGetPropertyNames));
     42            return Structure::create(proto, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | ImplementsHasInstance | HasDefaultGetPropertyNames));
    4343        }
    4444
  • trunk/JavaScriptCore/runtime/NumberObject.h

    r49607 r49649  
    3434        static PassRefPtr<Structure> createStructure(JSValue prototype)
    3535        {
    36             return Structure::create(prototype, TypeInfo(ObjectType, HasDefaultGetPropertyNames));
     36            return Structure::create(prototype, TypeInfo(ObjectType, HasDefaultGetPropertyNames | OverridesMarkChildren));
    3737        }
    3838#else
    3939        static PassRefPtr<Structure> createStructure(JSValue prototype)
    4040        {
    41             return Structure::create(prototype, TypeInfo(ObjectType, HasDefaultMark | HasDefaultGetPropertyNames));
     41            return Structure::create(prototype, TypeInfo(ObjectType, HasDefaultGetPropertyNames));
    4242        }
    4343#endif
  • trunk/JavaScriptCore/runtime/RegExpConstructor.h

    r49607 r49649  
    6060        static PassRefPtr<Structure> createStructure(JSValue prototype)
    6161        {
    62             return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | ImplementsHasInstance | HasDefaultMark | HasDefaultGetPropertyNames));
     62            return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | ImplementsHasInstance | HasDefaultGetPropertyNames));
    6363        }
    6464
  • trunk/JavaScriptCore/runtime/RegExpObject.h

    r49607 r49649  
    5050        static PassRefPtr<Structure> createStructure(JSValue prototype)
    5151        {
    52             return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | HasDefaultMark | HasDefaultGetPropertyNames));
     52            return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | HasDefaultGetPropertyNames));
    5353        }
    5454
  • trunk/JavaScriptCore/runtime/StringObject.h

    r49607 r49649  
    4949        static PassRefPtr<Structure> createStructure(JSValue prototype)
    5050        {
    51             return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot));
     51            return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | OverridesMarkChildren));
    5252        }
    5353
  • trunk/JavaScriptCore/runtime/StringObjectThatMasqueradesAsUndefined.h

    r49607 r49649  
    4545        static PassRefPtr<Structure> createStructure(JSValue proto)
    4646        {
    47             return Structure::create(proto, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | MasqueradesAsUndefined | HasDefaultMark));
     47            return Structure::create(proto, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | MasqueradesAsUndefined));
    4848        }
    4949
  • trunk/JavaScriptGlue/ChangeLog

    r49607 r49649  
     12009-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
    1132009-10-14  Oliver Hunt  <oliver@apple.com>
    214
  • trunk/JavaScriptGlue/UserObjectImp.h

    r49607 r49649  
    6262    static PassRefPtr<Structure> createStructure(JSValue prototype)
    6363    {
    64         return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot));
     64        return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | OverridesMarkChildren));
    6565    }
    6666
  • trunk/WebCore/ChangeLog

    r49648 r49649  
     12009-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
    1252009-10-15  Pavel Feldman  <pfeldman@chromium.org>
    226
  • trunk/WebCore/bindings/js/JSDOMBinding.h

    r49607 r49649  
    7777        static PassRefPtr<JSC::Structure> createStructure(JSC::JSValue prototype)
    7878        {
    79             return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType));
     79            return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType, JSC::OverridesMarkChildren));
    8080        }
    8181
     
    107107        static PassRefPtr<JSC::Structure> createStructure(JSC::JSValue prototype)
    108108        {
    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));
    110110        }
    111111
  • trunk/WebCore/bindings/js/JSDOMWindowShell.h

    r49607 r49649  
    6161        static PassRefPtr<JSC::Structure> createStructure(JSC::JSValue prototype)
    6262        {
    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));
    6464        }
    6565
  • trunk/WebCore/bindings/js/JSHTMLAllCollection.h

    r49607 r49649  
    4343        static PassRefPtr<JSC::Structure> createStructure(JSC::JSValue proto)
    4444        {
    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));
    4646        }
    4747
  • trunk/WebCore/bindings/js/JSQuarantinedObjectWrapper.h

    r49607 r49649  
    4848        static PassRefPtr<JSC::Structure> createStructure(JSC::JSValue proto)
    4949        {
    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));
    5151        }
    5252
  • trunk/WebCore/bindings/scripts/CodeGeneratorJS.pm

    r49607 r49649  
    606606            "    static PassRefPtr<JSC::Structure> createStructure(JSC::JSValue prototype)\n" .
    607607            "    {\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" .
    609609            "    }\n\n");
    610610    } elsif ($hasGetter) {
     
    612612            "    static PassRefPtr<JSC::Structure> createStructure(JSC::JSValue prototype)\n" .
    613613            "    {\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" .
    615615            "    }\n\n");
    616616    }
     
    792792            "    static PassRefPtr<JSC::Structure> createStructure(JSC::JSValue prototype)\n" .
    793793            "    {\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" .
    795795            "    }\n");
    796796    } elsif ($dataNode->extendedAttributes->{"CustomMarkFunction"}) {
     
    798798            "    static PassRefPtr<JSC::Structure> createStructure(JSC::JSValue prototype)\n" .
    799799            "    {\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" .
    801801            "    }\n");
    802802    }
     
    22542254    static PassRefPtr<Structure> createStructure(JSValue proto)
    22552255    {
    2256         return Structure::create(proto, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | ImplementsHasInstance));
     2256        return Structure::create(proto, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | ImplementsHasInstance | OverridesMarkChildren));
    22572257    }
    22582258EOF
  • trunk/WebCore/bridge/qt/qt_runtime.h

    r47030 r49649  
    152152    static PassRefPtr<Structure> createStructure(JSValue prototype)
    153153    {
    154         return Structure::create(prototype, TypeInfo(ObjectType));
     154        return Structure::create(prototype, TypeInfo(ObjectType,  JSC::OverridesGetOwnPropertySlot | JSC::HasNonDefaultMark));
    155155    }
    156156
  • trunk/WebCore/bridge/runtime_method.h

    r49607 r49649  
    4848    static PassRefPtr<Structure> createStructure(JSValue prototype)
    4949    {
    50         return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | ImplementsHasInstance));
     50        return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | ImplementsHasInstance | OverridesMarkChildren));
    5151    }
    5252
Note: See TracChangeset for help on using the changeset viewer.