Index: src/compiler/verifier.cc |
diff --git a/src/compiler/verifier.cc b/src/compiler/verifier.cc |
index bc80206d2def092c346e3f9515679592be11cc4b..92b9a6f58aebefda52a87c5b229cc2c71b1db195 100644 |
--- a/src/compiler/verifier.cc |
+++ b/src/compiler/verifier.cc |
@@ -1445,6 +1445,7 @@ void Verifier::Run(Graph* graph, Typing typing, CheckInputs check_inputs) { |
for (Node* other : node->uses()) { |
if (all.IsLive(other) && other != proj && |
other->opcode() == IrOpcode::kProjection && |
+ other->InputAt(0) == node && |
ProjectionIndexOf(other->op()) == ProjectionIndexOf(proj->op())) { |
V8_Fatal(__FILE__, __LINE__, |
"Node #%d:%s has duplicate projections #%d and #%d", |