| Index: src/compiler/instruction-selector.cc
|
| diff --git a/src/compiler/instruction-selector.cc b/src/compiler/instruction-selector.cc
|
| index 6c7cfe6e4344137f6bf1a41f24da81684fdd8d15..be32df45b53473de85f5a78c36245b9dea0c8d9a 100644
|
| --- a/src/compiler/instruction-selector.cc
|
| +++ b/src/compiler/instruction-selector.cc
|
| @@ -828,8 +828,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:
|
| @@ -1084,7 +1084,7 @@ void InstructionSelector::VisitChangeUint32ToUint64(Node* node) {
|
| }
|
|
|
|
|
| -void InstructionSelector::VisitTruncateFloat32ToInt64(Node* node) {
|
| +void InstructionSelector::VisitTryTruncateFloat32ToInt64(Node* node) {
|
| UNIMPLEMENTED();
|
| }
|
|
|
| @@ -1210,6 +1210,7 @@ void InstructionSelector::VisitProjection(Node* node) {
|
| switch (value->opcode()) {
|
| case IrOpcode::kInt32AddWithOverflow:
|
| case IrOpcode::kInt32SubWithOverflow:
|
| + case IrOpcode::kTryTruncateFloat32ToInt64:
|
| case IrOpcode::kTryTruncateFloat64ToInt64:
|
| if (ProjectionIndexOf(node->op()) == 0u) {
|
| Emit(kArchNop, g.DefineSameAsFirst(node), g.Use(value));
|
|
|