Reviewers: jochen,
Message:
PTAL
Description:
A64: fix restoring of registers in deopt_every_n_times.
BUG=
Please review this at https://codereview.chromium.org/200563002/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+2, -2 lines):
M src/a64/lithium-codegen-a64.cc
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()) {
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.