Ignore:
Timestamp:
Oct 14, 2009, 8:24:17 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 Geoff Garen.

Part 1. Reverse the HasStandardGetOwnPropertySlot flag.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/runtime/JSObject.h

    r49398 r49607  
    208208        static PassRefPtr<Structure> createStructure(JSValue prototype)
    209209        {
    210             return Structure::create(prototype, TypeInfo(ObjectType, HasStandardGetOwnPropertySlot | HasDefaultMark | HasDefaultGetPropertyNames));
     210            return Structure::create(prototype, TypeInfo(ObjectType, HasDefaultMark | HasDefaultGetPropertyNames));
    211211        }
    212212
     
    369369ALWAYS_INLINE bool JSCell::fastGetOwnPropertySlot(ExecState* exec, const Identifier& propertyName, PropertySlot& slot)
    370370{
    371     if (structure()->typeInfo().hasStandardGetOwnPropertySlot())
     371    if (!structure()->typeInfo().overridesGetOwnPropertySlot())
    372372        return asObject(this)->inlineGetOwnPropertySlot(exec, propertyName, slot);
    373373    return getOwnPropertySlot(exec, propertyName, slot);
Note: See TracChangeset for help on using the changeset viewer.