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

Unified Diff: pkg/compiler/lib/src/ssa/interceptor_simplifier.dart

Issue 1803303002: Move all flags to CompilerOptions (first step to stop passing the compiler to (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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
Index: pkg/compiler/lib/src/ssa/interceptor_simplifier.dart
diff --git a/pkg/compiler/lib/src/ssa/interceptor_simplifier.dart b/pkg/compiler/lib/src/ssa/interceptor_simplifier.dart
index c44519037c47708653950c76fde064e797742839..328111124ba61ac1f42381ac54b32f8837297f2c 100644
--- a/pkg/compiler/lib/src/ssa/interceptor_simplifier.dart
+++ b/pkg/compiler/lib/src/ssa/interceptor_simplifier.dart
@@ -324,7 +324,7 @@ class SsaSimplifyInterceptors extends HBaseVisitor
}
// Try creating a one-shot interceptor or optimized is-check
- if (compiler.hasIncrementalSupport) return false;
+ if (compiler.options.hasIncrementalSupport) return false;
if (node.usedBy.length != 1) return false;
HInstruction user = node.usedBy.single;

Powered by Google App Engine
This is Rietveld 408576698