Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index faeb841d30c0951c18491830d9175ef4804e470b..bad66fe8215512d238e81195ff0a2dbd90e4f0e1 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -5740,7 +5740,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); |
__ add(r2, result, Operand(*offset)); |
@@ -5794,7 +5795,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); |
__ add(r2, result, Operand(*offset)); |