Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 27e683574f86eb0c581169724743b43b9eda80ab..258142b8e11f2ddd4c0a2d59571dff17ec5692b4 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -1079,9 +1079,10 @@ void Genesis::InitializeGlobal(Handle<JSGlobalObject> global_object, |
Handle<String> object_name = factory->Object_string(); |
JSObject::AddProperty( |
global_object, object_name, isolate->object_function(), DONT_ENUM); |
- SimpleInstallFunction(isolate->object_function(), |
- isolate->factory()->InternalizeUtf8String("assign"), |
+ SimpleInstallFunction(isolate->object_function(), factory->assign_string(), |
Builtins::kObjectAssign, 2, false); |
+ SimpleInstallFunction(isolate->object_function(), factory->create_string(), |
+ Builtins::kObjectCreate, 2, false); |
Handle<JSObject> global(native_context()->global_object()); |