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/kjs/string_object.cpp

    r34587 r34607  
    7070    if (internalValue()->getStringPropertySlot(propertyName, slot))
    7171        return true;   
    72     return JSObject::getOwnPropertySlot(exec, Identifier::from(propertyName), slot);
     72    return JSObject::getOwnPropertySlot(exec, Identifier::from(exec, propertyName), slot);
    7373}
    7474
     
    9191  int size = internalValue()->getString().size();
    9292  for (int i = 0; i < size; i++)
    93     propertyNames.add(Identifier(UString::from(i)));
     93    propertyNames.add(Identifier(exec, UString::from(i)));
    9494  return JSObject::getPropertyNames(exec, propertyNames);
    9595}
     
    931931
    932932StringConstructor::StringConstructor(ExecState* exec, FunctionPrototype* funcProto, StringPrototype* stringProto)
    933   : InternalFunction(funcProto, stringProto->classInfo()->className)
     933  : InternalFunction(funcProto, Identifier(exec, stringProto->classInfo()->className))
    934934{
    935935  // ECMA 15.5.3.1 String.prototype
Note: See TracChangeset for help on using the changeset viewer.