[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}
This commit is contained in:
bgeron 2016-09-01 05:29:38 -07:00 committed by Commit bot
parent 324a9ace25
commit ce365be102

View File

@ -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);
}
}
}