Index: src/compiler/instruction-selector.cc |
diff --git a/src/compiler/instruction-selector.cc b/src/compiler/instruction-selector.cc |
index 2b29ebf0d54d658c90a5a01435db156b2701f43e..6baba281fb666076101501af80a9d6c18b1f335f 100644 |
--- a/src/compiler/instruction-selector.cc |
+++ b/src/compiler/instruction-selector.cc |
@@ -826,8 +826,8 @@ void InstructionSelector::VisitNode(Node* node) { |
return MarkAsWord32(node), VisitChangeFloat64ToInt32(node); |
case IrOpcode::kChangeFloat64ToUint32: |
return MarkAsWord32(node), VisitChangeFloat64ToUint32(node); |
- case IrOpcode::kTruncateFloat32ToInt64: |
- return MarkAsWord64(node), VisitTruncateFloat32ToInt64(node); |
+ case IrOpcode::kTryTruncateFloat32ToInt64: |
+ return MarkAsWord64(node), VisitTryTruncateFloat32ToInt64(node); |
case IrOpcode::kTryTruncateFloat64ToInt64: |
return MarkAsWord64(node), VisitTryTruncateFloat64ToInt64(node); |
case IrOpcode::kTruncateFloat32ToUint64: |
@@ -1082,7 +1082,7 @@ void InstructionSelector::VisitChangeUint32ToUint64(Node* node) { |
} |
-void InstructionSelector::VisitTruncateFloat32ToInt64(Node* node) { |
+void InstructionSelector::VisitTryTruncateFloat32ToInt64(Node* node) { |
UNIMPLEMENTED(); |
} |
@@ -1208,6 +1208,7 @@ void InstructionSelector::VisitProjection(Node* node) { |
switch (value->opcode()) { |
case IrOpcode::kInt32AddWithOverflow: |
case IrOpcode::kInt32SubWithOverflow: |
+ case IrOpcode::kTryTruncateFloat32ToInt64: |
case IrOpcode::kTryTruncateFloat64ToInt64: |
case IrOpcode::kTryTruncateFloat64ToUint64: |
if (ProjectionIndexOf(node->op()) == 0u) { |