+ static StringObject* create(VM& vm, Structure* structure)
+ {
+ JSString* string = jsEmptyString(&vm);
+ StringObject* object = new (NotNull, allocateCell<StringObject>(vm.heap)) StringObject(vm, structure);
+ object->finishCreation(vm, string);
+ return object;
+ }
+ static StringObject* create(VM& vm, Structure* structure, JSString* string)
+ {
+ StringObject* object = new (NotNull, allocateCell<StringObject>(vm.heap)) StringObject(vm, structure);
+ object->finishCreation(vm, string);
+ return object;
+ }
+ static StringObject* create(VM&, JSGlobalObject*, JSString*);
+
+ static bool getOwnPropertySlot(JSObject*, ExecState*, PropertyName, PropertySlot&);
+ static bool getOwnPropertySlotByIndex(JSObject*, ExecState*, unsigned propertyName, PropertySlot&);