Index: src/compiler/int64-lowering.cc |
diff --git a/src/compiler/int64-lowering.cc b/src/compiler/int64-lowering.cc |
index 1b0aec4298f1b8ef6786be55491e61d3dbe43869..539a37250495034e0ddb43d5fc9705e9e0eb667e 100644 |
--- a/src/compiler/int64-lowering.cc |
+++ b/src/compiler/int64-lowering.cc |
@@ -778,6 +778,18 @@ void Int64Lowering::LowerNode(Node* node) { |
} |
break; |
} |
+ case IrOpcode::kProjection: { |
+ Node* call = node->InputAt(0); |
+ DCHECK_EQ(IrOpcode::kCall, call->opcode()); |
+ CallDescriptor* descriptor = |
+ const_cast<CallDescriptor*>(CallDescriptorOf(call->op())); |
+ for (size_t i = 0; i < descriptor->ReturnCount(); i++) { |
+ if (descriptor->GetReturnType(i) == MachineType::Int64()) { |
+ UNREACHABLE(); // TODO(titzer): implement multiple i64 returns. |
+ } |
+ } |
+ break; |
+ } |
case IrOpcode::kWord64ReverseBytes: { |
Node* input = node->InputAt(0); |
ReplaceNode(node, graph()->NewNode(machine()->Word32ReverseBytes().op(), |