Ignore:
Timestamp:
Jun 16, 2008, 4:28:38 PM (17 years ago)
Author:
[email protected]
Message:

Reviewed by Geoff Garen.

Make Identifier construction use an explicitly passed IdentifierTable.

No change on SunSpider total.

File:
1 edited

Legend:

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

    r34587 r34607  
    147147bool JSCallbackObject<Base>::getOwnPropertySlot(ExecState* exec, unsigned propertyName, PropertySlot& slot)
    148148{
    149     return getOwnPropertySlot(exec, Identifier::from(propertyName), slot);
     149    return getOwnPropertySlot(exec, Identifier::from(exec, propertyName), slot);
    150150}
    151151
     
    194194void JSCallbackObject<Base>::put(ExecState* exec, unsigned propertyName, JSValue* value)
    195195{
    196     return put(exec, Identifier::from(propertyName), value);
     196    return put(exec, Identifier::from(exec, propertyName), value);
    197197}
    198198
     
    234234bool JSCallbackObject<Base>::deleteProperty(ExecState* exec, unsigned propertyName)
    235235{
    236     return deleteProperty(exec, Identifier::from(propertyName));
     236    return deleteProperty(exec, Identifier::from(exec, propertyName));
    237237}
    238238
     
    345345                StaticValueEntry* entry = it->second;
    346346                if (entry->getProperty && !(entry->attributes & kJSPropertyAttributeDontEnum))
    347                     propertyNames.add(Identifier(name));
     347                    propertyNames.add(Identifier(exec, name));
    348348            }
    349349        }
     
    356356                StaticFunctionEntry* entry = it->second;
    357357                if (!(entry->attributes & kJSPropertyAttributeDontEnum))
    358                     propertyNames.add(Identifier(name));
     358                    propertyNames.add(Identifier(exec, name));
    359359            }
    360360        }
Note: See TracChangeset for help on using the changeset viewer.