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

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

Issue 1273503002: dart2js: Add --fast-startup flag. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Remove unused env constant. Created 5 years, 4 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
« no previous file with comments | « pkg/compiler/lib/src/apiimpl.dart ('k') | pkg/compiler/lib/src/dart2js.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/compiler.dart
diff --git a/pkg/compiler/lib/src/compiler.dart b/pkg/compiler/lib/src/compiler.dart
index 1ed9781c039fa9b6849910582cd721ddb072c423..f6353790b591b93f3bebbb4a9327f03e6910937b 100644
--- a/pkg/compiler/lib/src/compiler.dart
+++ b/pkg/compiler/lib/src/compiler.dart
@@ -1056,6 +1056,7 @@ abstract class Compiler implements DiagnosticListener {
this.deferredMapUri: null,
this.dumpInfo: false,
this.showPackageWarnings: false,
+ bool useStartupEmitter: false,
this.useContentSecurityPolicy: false,
this.suppressWarnings: false,
this.fatalWarnings: false,
@@ -1100,7 +1101,8 @@ abstract class Compiler implements DiagnosticListener {
if (emitJavaScript) {
js_backend.JavaScriptBackend jsBackend =
new js_backend.JavaScriptBackend(
- this, generateSourceMap: generateSourceMap);
+ this, generateSourceMap: generateSourceMap,
+ useStartupEmitter: useStartupEmitter);
backend = jsBackend;
} else {
backend = new dart_backend.DartBackend(this, strips,
« no previous file with comments | « pkg/compiler/lib/src/apiimpl.dart ('k') | pkg/compiler/lib/src/dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698