Index: dart/sdk/lib/_internal/compiler/implementation/compiler.dart |
diff --git a/dart/sdk/lib/_internal/compiler/implementation/compiler.dart b/dart/sdk/lib/_internal/compiler/implementation/compiler.dart |
index 542372034452ae6eecfdd7c95b61591b2ca8a9c2..9ae78138649578b69fdf703c4cd8b0fe2ed3bb89 100644 |
--- a/dart/sdk/lib/_internal/compiler/implementation/compiler.dart |
+++ b/dart/sdk/lib/_internal/compiler/implementation/compiler.dart |
@@ -966,6 +966,11 @@ abstract class Compiler implements DiagnosticListener { |
this.outputProvider = (outputProvider == null) |
? NullSink.outputProvider |
: outputProvider { |
+ if (hasIncrementalSupport) { |
+ // TODO(ahe): This is too much. Any method from platform and package |
+ // libraries can be inlined. |
+ disableInlining = true; |
+ } |
world = new World(this); |
types = new Types(this); |
tracer = new Tracer(this, this.outputProvider); |