Index: src/x64/lithium-codegen-x64.cc |
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc |
index 0ad4e973b67aaef99af5707c7d304cefc8152edc..0cfa33657469bc1feaf74fcc97034144b3662d24 100644 |
--- a/src/x64/lithium-codegen-x64.cc |
+++ b/src/x64/lithium-codegen-x64.cc |
@@ -5187,7 +5187,8 @@ void LCodeGen::EmitDeepCopy(Handle<JSObject> object, |
// Copy in-object properties. |
for (int i = 0; i < inobject_properties; i++) { |
int total_offset = object_offset + object->GetInObjectPropertyOffset(i); |
- Handle<Object> value = Handle<Object>(object->InObjectPropertyAt(i)); |
+ Handle<Object> value = Handle<Object>(object->InObjectPropertyAt(i), |
+ isolate()); |
if (value->IsJSObject()) { |
Handle<JSObject> value_object = Handle<JSObject>::cast(value); |
__ lea(rcx, Operand(result, *offset)); |
@@ -5235,7 +5236,7 @@ void LCodeGen::EmitDeepCopy(Handle<JSObject> object, |
Handle<FixedArray> fast_elements = Handle<FixedArray>::cast(elements); |
for (int i = 0; i < elements_length; i++) { |
int total_offset = elements_offset + FixedArray::OffsetOfElementAt(i); |
- Handle<Object> value(fast_elements->get(i)); |
+ Handle<Object> value(fast_elements->get(i), isolate()); |
if (value->IsJSObject()) { |
Handle<JSObject> value_object = Handle<JSObject>::cast(value); |
__ lea(rcx, Operand(result, *offset)); |