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}
This commit is contained in:
parent
df0cb9999f
commit
9159c419e8
@ -254,12 +254,17 @@ class RepresentationSelector {
|
|||||||
++i, j--) {
|
++i, j--) {
|
||||||
ProcessInput(node, (*i).index(), kMachAnyTagged); // Context inputs
|
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--) {
|
for (int j = node->op()->EffectInputCount(); j > 0; ++i, j--) {
|
||||||
Enqueue((*i).to()); // Effect inputs: just visit
|
Enqueue((*i).to()); // Effect inputs: just visit
|
||||||
}
|
}
|
||||||
for (int j = node->op()->ControlInputCount(); j > 0; ++i, j--) {
|
for (int j = node->op()->ControlInputCount(); j > 0; ++i, j--) {
|
||||||
Enqueue((*i).to()); // Control inputs: just visit
|
Enqueue((*i).to()); // Control inputs: just visit
|
||||||
}
|
}
|
||||||
|
DCHECK(i == node->input_edges().end());
|
||||||
SetOutput(node, kMachAnyTagged);
|
SetOutput(node, kMachAnyTagged);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user