Commit ce365be1 authored by bgeron's avatar bgeron Committed by Commit bot

[turbofan] In store-store elimination, revisit as often as necessary.

There used to be too much pruning.

BUG=v8:5321

Review-Url: https://codereview.chromium.org/2295823002
Cr-Commit-Position: refs/heads/master@{#39084}
parent 324a9ace
......@@ -403,11 +403,9 @@ void RedundantStoreFinder::VisitEffectfulNode(Node* node) {
// Mark effect inputs for visiting.
for (int i = 0; i < node->op()->EffectInputCount(); i++) {
Node* input = NodeProperties::GetEffectInput(node, i);
if (!HasBeenVisited(input)) {
TRACE(" marking #%d:%s for revisit", input->id(),
input->op()->mnemonic());
MarkForRevisit(input);
}
TRACE(" marking #%d:%s for revisit", input->id(),
input->op()->mnemonic());
MarkForRevisit(input);
}
}
}
......
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