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)); |