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 fa63138f2799841c5af49c2ac93a7493541881cb..fac23cd9590ceef18ff3f00e6d3a6563b0432e1e 100644 |
--- a/src/compiler/x64/instruction-selector-x64.cc |
+++ b/src/compiler/x64/instruction-selector-x64.cc |
@@ -906,6 +906,12 @@ void InstructionSelector::VisitTruncateInt64ToInt32(Node* node) { |
} |
+void InstructionSelector::VisitTruncateInt64ToFloat64(Node* node) { |
+ X64OperandGenerator g(this); |
+ Emit(kSSEInt64ToFloat64, g.DefineAsRegister(node), g.Use(node->InputAt(0))); |
+} |
+ |
+ |
void InstructionSelector::VisitFloat32Add(Node* node) { |
VisitFloatBinop(this, node, kAVXFloat32Add, kSSEFloat32Add); |
} |