Index: src/compiler/instruction-selector.cc |
diff --git a/src/compiler/instruction-selector.cc b/src/compiler/instruction-selector.cc |
index fcbc94e0e8ee69082334761f82e3058f95b32d6f..a3d13a618a619b528a5ba5ebcc537aa0d1c0ea0b 100644 |
--- a/src/compiler/instruction-selector.cc |
+++ b/src/compiler/instruction-selector.cc |
@@ -1150,6 +1150,10 @@ void InstructionSelector::VisitNode(Node* node) { |
} |
case IrOpcode::kCheckedStore: |
return VisitCheckedStore(node); |
+ case IrOpcode::kWord32PairShl: |
+ MarkAsWord32(NodeProperties::FindProjection(node, 0)); |
+ MarkAsWord32(NodeProperties::FindProjection(node, 1)); |
+ return VisitWord32PairShl(node); |
default: |
V8_Fatal(__FILE__, __LINE__, "Unexpected operator #%d:%s @ node #%d", |
node->opcode(), node->op()->mnemonic(), node->id()); |
@@ -1373,6 +1377,10 @@ void InstructionSelector::VisitBitcastInt64ToFloat64(Node* node) { |
#endif // V8_TARGET_ARCH_32_BIT |
+// 32 bit targets do not implement the following instructions. |
+#if V8_TARGET_ARCH_64_BIT |
+void InstructionSelector::VisitWord32PairShl(Node* node) { UNIMPLEMENTED(); } |
+#endif // V8_TARGET_ARCH_64_BIT |
void InstructionSelector::VisitFinishRegion(Node* node) { |
OperandGenerator g(this); |
@@ -1451,6 +1459,7 @@ void InstructionSelector::VisitProjection(Node* node) { |
case IrOpcode::kTryTruncateFloat64ToInt64: |
case IrOpcode::kTryTruncateFloat32ToUint64: |
case IrOpcode::kTryTruncateFloat64ToUint64: |
+ case IrOpcode::kWord32PairShl: |
if (ProjectionIndexOf(node->op()) == 0u) { |
Emit(kArchNop, g.DefineSameAsFirst(node), g.Use(value)); |
} else { |