Index: src/compiler/arm64/code-generator-arm64.cc |
diff --git a/src/compiler/arm64/code-generator-arm64.cc b/src/compiler/arm64/code-generator-arm64.cc |
index 5127b1012f3dff481ac67e43f3af87124e5b5598..0ea4f076e522aaecc1cfb91eece357e8c6ac25e2 100644 |
--- a/src/compiler/arm64/code-generator-arm64.cc |
+++ b/src/compiler/arm64/code-generator-arm64.cc |
@@ -149,6 +149,9 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
__ Call(deopt_entry, RelocInfo::RUNTIME_ENTRY); |
break; |
} |
+ case kArchTruncateDoubleToI: |
+ __ TruncateDoubleToI(i.OutputRegister(), i.InputDoubleRegister(0)); |
+ break; |
case kArm64Add: |
__ Add(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); |
break; |