Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index 7152ba21cc2af690406d1d209eba6087c6f53dce..9cf94eea8470384be29a04335fef80dceb0ba50e 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -4381,15 +4381,15 @@ void LCodeGen::DoTransitionElementsKind(LTransitionElementsKind* instr) { |
scratch, GetLinkRegisterState(), kDontSaveFPRegs); |
} else { |
ASSERT(ToRegister(instr->context()).is(cp)); |
+ ASSERT(object_reg.is(r0)); |
PushSafepointRegistersScope scope( |
this, Safepoint::kWithRegistersAndDoubles); |
- __ Move(r0, object_reg); |
__ Move(r1, to_map); |
bool is_js_array = from_map->instance_type() == JS_ARRAY_TYPE; |
TransitionElementsKindStub stub(from_kind, to_kind, is_js_array); |
__ CallStub(&stub); |
RecordSafepointWithRegistersAndDoubles( |
- instr->pointer_map(), 0, Safepoint::kNoLazyDeopt); |
+ instr->pointer_map(), 0, Safepoint::kLazyDeopt); |
} |
__ bind(¬_applicable); |
} |