Ignore:
Timestamp:
Oct 15, 2009, 12:55:09 PM (16 years ago)
Author:
[email protected]
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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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
Note: See TracChangeset for help on using the changeset viewer.