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

Unified Diff: dart/sdk/lib/_internal/compiler/implementation/compiler.dart

Issue 636903002: Compute an incremental patch to JavaScript code. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Use Namer.elementAccess (to address Johnni's comment) Created 6 years, 2 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: 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);

Powered by Google App Engine
This is Rietveld 408576698