Reviewers: Benedikt Meurer,
Message:
PTAL
Description:
Use sarq on x64
BUG=
Please review this at https://codereview.chromium.org/219043003/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+1, -1 lines):
M src/x64/lithium-codegen-x64.cc
Index: src/x64/lithium-codegen-x64.cc
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc
index
3f6ce5c67a05bb300c0452cdc3124535a7c26c04..8c40e5850a9379ed8a97aa421b646039d0f285f8
100644
--- a/src/x64/lithium-codegen-x64.cc
+++ b/src/x64/lithium-codegen-x64.cc
@@ -5611,7 +5611,7 @@ void LCodeGen::DoLoadFieldByIndex(LLoadFieldByIndex*
instr) {
__ testq(index, kScratchRegister);
__ j(not_zero, deferred->entry());
- __ sar(index, Immediate(1));
+ __ sarq(index, Immediate(1));
__ SmiToInteger32(index, index);
__ cmpl(index, Immediate(0));
--
--
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.