Index: src/compiler/arm/code-generator-arm.cc |
diff --git a/src/compiler/arm/code-generator-arm.cc b/src/compiler/arm/code-generator-arm.cc |
index b259ca9329ccf70013b7f77410ec5e78b1c4622d..3b971fa4cdb5a5cb319af1ffda18dc7313d96222 100644 |
--- a/src/compiler/arm/code-generator-arm.cc |
+++ b/src/compiler/arm/code-generator-arm.cc |
@@ -158,6 +158,10 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
DCHECK_EQ(LeaveCC, i.OutputSBit()); |
break; |
} |
+ case kArchTruncateDoubleToI: |
+ __ TruncateDoubleToI(i.OutputRegister(), i.InputDoubleRegister(0)); |
+ DCHECK_EQ(LeaveCC, i.OutputSBit()); |
+ break; |
case kArmAdd: |
__ add(i.OutputRegister(), i.InputRegister(0), i.InputOperand2(1), |
i.OutputSBit()); |