Commit 9159c419 authored by mstarzinger's avatar mstarzinger Committed by Commit bot

Fix missing visitation of FrameState in simplified lowering.

R=jarin@chromium.org

Review URL: https://codereview.chromium.org/918143002

Cr-Commit-Position: refs/heads/master@{#26613}
parent df0cb999
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment