Commit 8ff9efc8 authored by tebbi's avatar tebbi Committed by Commit bot

[turbofan] enforce single pass for redundancy elimination

R=jarin@chromium.org

BUG=

Review-Url: https://codereview.chromium.org/2568423003
Cr-Commit-Position: refs/heads/master@{#41681}
parent 73ac1d38
...@@ -16,6 +16,7 @@ RedundancyElimination::RedundancyElimination(Editor* editor, Zone* zone) ...@@ -16,6 +16,7 @@ RedundancyElimination::RedundancyElimination(Editor* editor, Zone* zone)
RedundancyElimination::~RedundancyElimination() {} RedundancyElimination::~RedundancyElimination() {}
Reduction RedundancyElimination::Reduce(Node* node) { Reduction RedundancyElimination::Reduce(Node* node) {
if (node_checks_.Get(node)) return NoChange();
switch (node->opcode()) { switch (node->opcode()) {
case IrOpcode::kCheckBounds: case IrOpcode::kCheckBounds:
case IrOpcode::kCheckFloat64Hole: case IrOpcode::kCheckFloat64Hole:
......
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