Index: src/compiler/ia32/code-generator-ia32.cc |
diff --git a/src/compiler/ia32/code-generator-ia32.cc b/src/compiler/ia32/code-generator-ia32.cc |
index ad80e49e00fa651e900d03cbccc787c7f48e5cc7..7149b5598e33ef018f8219d07018f29823c2e85b 100644 |
--- a/src/compiler/ia32/code-generator-ia32.cc |
+++ b/src/compiler/ia32/code-generator-ia32.cc |
@@ -129,6 +129,9 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
__ call(deopt_entry, RelocInfo::RUNTIME_ENTRY); |
break; |
} |
+ case kArchTruncateDoubleToI: |
+ __ TruncateDoubleToI(i.OutputRegister(), i.InputDoubleRegister(0)); |
+ break; |
case kIA32Add: |
if (HasImmediateInput(instr, 1)) { |
__ add(i.InputOperand(0), i.InputImmediate(1)); |