Index: src/runtime/runtime-debug.cc |
diff --git a/src/runtime/runtime-debug.cc b/src/runtime/runtime-debug.cc |
index 95ac77bb130d594ac82138982d7728bded1fbd26..00ac921d0a463fb6735f9b44b6e91cd9e57250a5 100644 |
--- a/src/runtime/runtime-debug.cc |
+++ b/src/runtime/runtime-debug.cc |
@@ -2083,7 +2083,8 @@ static MaybeHandle<Object> DebugEvaluate(Isolate* isolate, |
static Handle<JSObject> NewJSObjectWithNullProto(Isolate* isolate) { |
Handle<JSObject> result = |
isolate->factory()->NewJSObject(isolate->object_function()); |
- Handle<Map> new_map = Map::Copy(Handle<Map>(result->map())); |
+ Handle<Map> new_map = |
+ Map::Copy(Handle<Map>(result->map()), "ObjectWithNullProto"); |
new_map->set_prototype(*isolate->factory()->null_value()); |
JSObject::MigrateToMap(result, new_map); |
return result; |