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

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

Issue 740273003: Incremental compiler: support optional arguments. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Merged with r42234. Created 6 years 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: dart/pkg/compiler/lib/src/ssa/interceptor_simplifier.dart
diff --git a/dart/pkg/compiler/lib/src/ssa/interceptor_simplifier.dart b/dart/pkg/compiler/lib/src/ssa/interceptor_simplifier.dart
index 3f177585739f3ec76c88b6ccd710f2b72619b2a9..79a527cf92b5680af27fcdbb3175887c7be97769 100644
--- a/dart/pkg/compiler/lib/src/ssa/interceptor_simplifier.dart
+++ b/dart/pkg/compiler/lib/src/ssa/interceptor_simplifier.dart
@@ -255,6 +255,7 @@ class SsaSimplifyInterceptors extends HBaseVisitor
node.interceptedClasses = interceptedClasses;
// Try creating a one-shot interceptor.
+ if (compiler.hasIncrementalSupport) return false;
if (node.usedBy.length != 1) return false;
if (node.usedBy[0] is !HInvokeDynamic) return false;
« no previous file with comments | « dart/pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart ('k') | dart/pkg/dart2js_incremental/lib/caching_compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698