Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index 45dd9a4cd5128abfdf2e42c1d5ba5fc12d5684a0..3acbb81d89dff0c0d2c21003762bb785c6a7df85 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -207,7 +207,7 @@ static Handle<Map> ComputeObjectLiteralMap( |
return isolate->factory()->ObjectLiteralMapFromCache(context, keys); |
} |
*is_result_from_cache = false; |
- return Map::Create(handle(context->object_function()), number_of_properties); |
+ return Map::Create(isolate, number_of_properties); |
} |