Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 316b5839f4443c6e6122c5f1a875e39905d135be..b3a264e79831963d91b91818db9634ef4400244a 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -5635,6 +5635,8 @@ Handle<JSObject> JSObject::DeepCopy(Handle<JSObject> object) { |
Handle<JSObject> copy = Copy(object); |
+ HandleScope scope(isolate); |
+ |
// Deep copy local properties. |
if (copy->HasFastProperties()) { |
Handle<DescriptorArray> descriptors(copy->map()->instance_descriptors()); |