Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index a362c7afe3a82ed43db847464e48df8672eda65c..241524e3d3cab3bfd99b3a45fa4d1db54da008c6 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -7272,6 +7272,7 @@ void Map::UpdateCodeCache(Handle<Map> map, |
Handle<Name> name, |
Handle<Code> code) { |
Isolate* isolate = map->GetIsolate(); |
+ HandleScope scope(isolate); |
// Allocate the code cache if not present. |
if (map->code_cache()->IsFixedArray()) { |
Handle<Object> result = isolate->factory()->NewCodeCache(); |