Index: src/compiler/x64/instruction-selector-x64.cc |
diff --git a/src/compiler/x64/instruction-selector-x64.cc b/src/compiler/x64/instruction-selector-x64.cc |
index f52639d873696878060229a452f3e583aa3e381d..0563e432905f33446b67596213da14762bad1c81 100644 |
--- a/src/compiler/x64/instruction-selector-x64.cc |
+++ b/src/compiler/x64/instruction-selector-x64.cc |
@@ -834,6 +834,12 @@ void InstructionSelector::VisitChangeFloat64ToUint32(Node* node) { |
} |
+void InstructionSelector::VisitChangeFloat64ToInt64(Node* node) { |
+ X64OperandGenerator g(this); |
+ Emit(kSSEFloat64ToInt64, g.DefineAsRegister(node), g.Use(node->InputAt(0))); |
+} |
+ |
+ |
void InstructionSelector::VisitChangeInt32ToInt64(Node* node) { |
X64OperandGenerator g(this); |
Emit(kX64Movsxlq, g.DefineAsRegister(node), g.Use(node->InputAt(0))); |