Commit 591562c1 authored by tebbi's avatar tebbi Committed by Commit bot

[turbofan] load elimination looks through TypeGuards

R=bmeuerer@chromium.org

Review-Url: https://codereview.chromium.org/2789713003
Cr-Commit-Position: refs/heads/master@{#44309}
parent a4c6126a
......@@ -37,6 +37,7 @@ Aliasing QueryAlias(Node* a, Node* b) {
break;
}
case IrOpcode::kFinishRegion:
case IrOpcode::kTypeGuard:
return QueryAlias(a, b->InputAt(0));
default:
break;
......@@ -53,6 +54,7 @@ Aliasing QueryAlias(Node* a, Node* b) {
break;
}
case IrOpcode::kFinishRegion:
case IrOpcode::kTypeGuard:
return QueryAlias(a->InputAt(0), b);
default:
break;
......
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