Index: src/x64/lithium-codegen-x64.cc |
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc |
index cca99a12b22facbcbfc0b2c6f836b2d7baa14ac8..639d7c49e549697d7b1a972a8685af1f102a6432 100644 |
--- a/src/x64/lithium-codegen-x64.cc |
+++ b/src/x64/lithium-codegen-x64.cc |
@@ -1045,21 +1045,21 @@ void LCodeGen::DoConstantT(LConstantT* instr) { |
void LCodeGen::DoJSArrayLength(LJSArrayLength* instr) { |
Register result = ToRegister(instr->result()); |
Register array = ToRegister(instr->InputAt(0)); |
- __ movq(result, FieldOperand(array, JSArray::kLengthOffset)); |
+ __ movl(result, FieldOperand(array, JSArray::kLengthOffset)); |
} |
void LCodeGen::DoFixedArrayLength(LFixedArrayLength* instr) { |
Register result = ToRegister(instr->result()); |
Register array = ToRegister(instr->InputAt(0)); |
- __ movq(result, FieldOperand(array, FixedArray::kLengthOffset)); |
+ __ movl(result, FieldOperand(array, FixedArray::kLengthOffset)); |
} |
void LCodeGen::DoExternalArrayLength(LExternalArrayLength* instr) { |
Register result = ToRegister(instr->result()); |
Register array = ToRegister(instr->InputAt(0)); |
- __ movq(result, FieldOperand(array, ExternalPixelArray::kLengthOffset)); |
+ __ movl(result, FieldOperand(array, ExternalPixelArray::kLengthOffset)); |
} |
@@ -2787,9 +2787,9 @@ void LCodeGen::DoStorePixelArrayElement(LStorePixelArrayElement* instr) { |
void LCodeGen::DoBoundsCheck(LBoundsCheck* instr) { |
if (instr->length()->IsRegister()) { |
- __ cmpq(ToRegister(instr->index()), ToRegister(instr->length())); |
+ __ cmpl(ToRegister(instr->index()), ToRegister(instr->length())); |
} else { |
- __ cmpq(ToRegister(instr->index()), ToOperand(instr->length())); |
+ __ cmpl(ToRegister(instr->index()), ToOperand(instr->length())); |
} |
DeoptimizeIf(above_equal, instr->environment()); |
} |