Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(105)

Unified Diff: src/compiler/load-elimination.cc

Issue 2789713003: [turbofan] load elimination looks through TypeGuards (Closed)
Patch Set: addressed comments Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/load-elimination.cc
diff --git a/src/compiler/load-elimination.cc b/src/compiler/load-elimination.cc
index 97b35c0b86445c950d24d2a3b9f1ae8f4ed33bc0..2c688a1cb58ab4246c7e9ccf03a48412a7e969b2 100644
--- a/src/compiler/load-elimination.cc
+++ b/src/compiler/load-elimination.cc
@@ -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;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698