Index: src/a64/lithium-codegen-a64.cc |
diff --git a/src/a64/lithium-codegen-a64.cc b/src/a64/lithium-codegen-a64.cc |
index 6e48ce490d94a6f3d4df80534e9a5cc10d571ed0..0bb420cf590a83f799d0225af6866643f9aa32ab 100644 |
--- a/src/a64/lithium-codegen-a64.cc |
+++ b/src/a64/lithium-codegen-a64.cc |
@@ -1010,7 +1010,7 @@ void LCodeGen::DeoptimizeBranch( |
__ B(gt, ¬_zero); |
__ Mov(w1, FLAG_deopt_every_n_times); |
__ Str(w1, MemOperand(x0)); |
- __ Pop(x0, x1, x2); |
+ __ Pop(x2, x1, x0); |
ASSERT(frame_is_built_); |
__ Call(entry, RelocInfo::RUNTIME_ENTRY); |
__ Unreachable(); |
@@ -1018,7 +1018,7 @@ void LCodeGen::DeoptimizeBranch( |
__ Bind(¬_zero); |
__ Str(w1, MemOperand(x0)); |
__ Msr(NZCV, x2); |
- __ Pop(x0, x1, x2); |
+ __ Pop(x2, x1, x0); |
} |
if (info()->ShouldTrapOnDeopt()) { |