Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index 852ed1ca942f84693f7834fb89d9fe1db61979c4..6ca8851337cc5350ff0ed64e4a0c87c0530b0c8f 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -5219,7 +5219,7 @@ void LCodeGen::DoDeferredInstanceMigration(LCheckMaps* instr, Register object) { |
PushSafepointRegistersScope scope(this, Safepoint::kWithRegisters); |
__ push(object); |
CallRuntimeFromDeferred(Runtime::kMigrateInstance, 1, instr); |
- __ StoreToSafepointRegisterSlot(scratch0(), r0); |
+ __ StoreToSafepointRegisterSlot(r0, scratch0()); |
} |
__ tst(scratch0(), Operand(kSmiTagMask)); |
DeoptimizeIf(eq, instr->environment()); |