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

Unified Diff: runtime/vm/intermediate_language.cc

Issue 1162033005: Fix http://dartbug.com/23578: (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Update to ToT. Created 5 years, 6 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/intermediate_language.cc
diff --git a/runtime/vm/intermediate_language.cc b/runtime/vm/intermediate_language.cc
index c5077d0f7ff4059fde57faa0d71c1e0395a8afe0..f78c295c013bd5a883c5aa97a4b186e92b456f8a 100644
--- a/runtime/vm/intermediate_language.cc
+++ b/runtime/vm/intermediate_language.cc
@@ -2029,7 +2029,7 @@ Definition* AssertAssignableInstr::Canonicalize(FlowGraph* flow_graph) {
Definition* InstantiateTypeArgumentsInstr::Canonicalize(FlowGraph* flow_graph) {
- return (Isolate::Current()->TypeChecksEnabled() || HasUses()) ? this : NULL;
+ return (Isolate::Current()->flags().type_checks() || HasUses()) ? this : NULL;
}

Powered by Google App Engine
This is Rietveld 408576698