Reviewed by Geoff Garen.

        Make Identifier construction use an explicitly passed IdentifierTable.

        No change on SunSpider total.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34607 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/JavaScriptCore/kjs/string_object.cpp b/JavaScriptCore/kjs/string_object.cpp
index 08406de..cf293aa 100644
--- a/JavaScriptCore/kjs/string_object.cpp
+++ b/JavaScriptCore/kjs/string_object.cpp
@@ -69,7 +69,7 @@
 {
     if (internalValue()->getStringPropertySlot(propertyName, slot))
         return true;    
-    return JSObject::getOwnPropertySlot(exec, Identifier::from(propertyName), slot);
+    return JSObject::getOwnPropertySlot(exec, Identifier::from(exec, propertyName), slot);
 }
 
 void StringObject::put(ExecState* exec, const Identifier& propertyName, JSValue* value)
@@ -90,7 +90,7 @@
 {
   int size = internalValue()->getString().size();
   for (int i = 0; i < size; i++)
-    propertyNames.add(Identifier(UString::from(i)));
+    propertyNames.add(Identifier(exec, UString::from(i)));
   return JSObject::getPropertyNames(exec, propertyNames);
 }
 
@@ -930,7 +930,7 @@
 // ------------------------------ StringConstructor ------------------------------
 
 StringConstructor::StringConstructor(ExecState* exec, FunctionPrototype* funcProto, StringPrototype* stringProto)
-  : InternalFunction(funcProto, stringProto->classInfo()->className)
+  : InternalFunction(funcProto, Identifier(exec, stringProto->classInfo()->className))
 {
   // ECMA 15.5.3.1 String.prototype
   putDirect(exec->propertyNames().prototype, stringProto, DontEnum|DontDelete|ReadOnly);