Index: src/compiler/simplified-lowering.cc |
diff --git a/src/compiler/simplified-lowering.cc b/src/compiler/simplified-lowering.cc |
index fc3b0091b956d473b494325a5a8ceceab387c261..23c3e3294474949be02671fa18d96f4d7cf729ee 100644 |
--- a/src/compiler/simplified-lowering.cc |
+++ b/src/compiler/simplified-lowering.cc |
@@ -254,12 +254,17 @@ class RepresentationSelector { |
++i, j--) { |
ProcessInput(node, (*i).index(), kMachAnyTagged); // Context inputs |
} |
+ for (int j = OperatorProperties::GetFrameStateInputCount(node->op()); j > 0; |
+ ++i, j--) { |
+ Enqueue((*i).to()); // FrameState inputs: just visit |
+ } |
for (int j = node->op()->EffectInputCount(); j > 0; ++i, j--) { |
Enqueue((*i).to()); // Effect inputs: just visit |
} |
for (int j = node->op()->ControlInputCount(); j > 0; ++i, j--) { |
Enqueue((*i).to()); // Control inputs: just visit |
} |
+ DCHECK(i == node->input_edges().end()); |
SetOutput(node, kMachAnyTagged); |
} |