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

Unified Diff: runtime/vm/flow_graph_type_propagator.cc

Issue 304703002: Split GuardField into GuardFieldType and GuardFieldLength instructions. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: address comments Created 6 years, 7 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
Index: runtime/vm/flow_graph_type_propagator.cc
diff --git a/runtime/vm/flow_graph_type_propagator.cc b/runtime/vm/flow_graph_type_propagator.cc
index 282972f12d2e11158a478abbc83a02ca8114d633..179cdeedfb1e2f4580bd536552a94fdd8eff38ac 100644
--- a/runtime/vm/flow_graph_type_propagator.cc
+++ b/runtime/vm/flow_graph_type_propagator.cc
@@ -276,7 +276,8 @@ void FlowGraphTypePropagator::VisitCheckClass(CheckClassInstr* check) {
}
-void FlowGraphTypePropagator::VisitGuardField(GuardFieldInstr* guard) {
+void FlowGraphTypePropagator::VisitGuardFieldClass(
+ GuardFieldClassInstr* guard) {
const intptr_t cid = guard->field().guarded_cid();
if ((cid == kIllegalCid) || (cid == kDynamicCid)) {
return;

Powered by Google App Engine
This is Rietveld 408576698