Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index c8b8797266aea3df05066a370e2ddca6d88838bd..3e0a6868f3b34a3b2057b5a1d6a2f40825253de4 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -534,7 +534,7 @@ Handle<JSFunction> Genesis::CreateEmptyFunction(Isolate* isolate) { |
// Allocate initial strong object map. |
Handle<Map> strong_object_map = |
- Map::Copy(object_function_map, "EmptyStrongObject"); |
+ Map::Copy(Handle<Map>(object_fun->initial_map()), "EmptyStrongObject"); |
strong_object_map->set_is_strong(); |
native_context()->set_js_object_strong_map(*strong_object_map); |
} |