Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index c6ba51770331417db3b30847214692805a4708ea..a0c9aca6fba4577625360d4cdfdb28b94eb4b0f6 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -5051,8 +5051,8 @@ void LCodeGen::DoDeferredTaggedToI(LTaggedToI* instr) { |
__ sub(scratch1, input_reg, Operand(kHeapObjectTag)); |
__ vldr(double_scratch2, scratch1, HeapNumber::kValueOffset); |
- __ ECMAToInt32(input_reg, double_scratch2, double_scratch, |
- scratch1, scratch2, scratch3); |
+ __ ECMAToInt32(input_reg, double_scratch2, |
+ scratch1, scratch2, scratch3, double_scratch); |
} else { |
// Deoptimize if we don't have a heap number. |
@@ -5149,8 +5149,8 @@ void LCodeGen::DoDoubleToI(LDoubleToI* instr) { |
if (instr->truncating()) { |
Register scratch3 = ToRegister(instr->temp2()); |
- __ ECMAToInt32(result_reg, double_input, double_scratch, |
- scratch1, scratch2, scratch3); |
+ __ ECMAToInt32(result_reg, double_input, |
+ scratch1, scratch2, scratch3, double_scratch); |
} else { |
__ TryDoubleToInt32Exact(result_reg, double_input, double_scratch); |
// Deoptimize if the input wasn't a int32 (inside a double). |