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

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

Issue 219043003: Use sarq on x64 (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/x64/lithium-codegen-x64.cc
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc
index 3f6ce5c67a05bb300c0452cdc3124535a7c26c04..bc6fdfd8145b78b6289607dffde7caed3d489dcc 100644
--- a/src/x64/lithium-codegen-x64.cc
+++ b/src/x64/lithium-codegen-x64.cc
@@ -5608,10 +5608,10 @@ void LCodeGen::DoLoadFieldByIndex(LLoadFieldByIndex* instr) {
Label out_of_object, done;
__ Move(kScratchRegister, Smi::FromInt(1));
- __ testq(index, kScratchRegister);
+ __ testp(index, kScratchRegister);
__ j(not_zero, deferred->entry());
- __ sar(index, Immediate(1));
+ __ sarp(index, Immediate(1));
__ SmiToInteger32(index, index);
__ cmpl(index, Immediate(0));
« 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