Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(49)

Unified Diff: src/a64/lithium-codegen-a64.cc

Issue 200563002: A64: fix restoring of registers in deopt_every_n_times. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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, &not_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(&not_zero);
__ Str(w1, MemOperand(x0));
__ Msr(NZCV, x2);
- __ Pop(x0, x1, x2);
+ __ Pop(x2, x1, x0);
}
if (info()->ShouldTrapOnDeopt()) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698