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

Side by Side Diff: pkg/compiler/lib/src/apiimpl.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 unified diff | Download patch
« no previous file with comments | « no previous file | pkg/compiler/lib/src/compiler.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library leg_apiimpl; 5 library leg_apiimpl;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:convert'; 8 import 'dart:convert';
9 9
10 import '../compiler_new.dart' as api; 10 import '../compiler_new.dart' as api;
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 outputUri: extractUriOption(options, '--out='), 86 outputUri: extractUriOption(options, '--out='),
87 terseDiagnostics: hasOption(options, '--terse'), 87 terseDiagnostics: hasOption(options, '--terse'),
88 deferredMapUri: extractUriOption(options, '--deferred-map='), 88 deferredMapUri: extractUriOption(options, '--deferred-map='),
89 dumpInfo: hasOption(options, '--dump-info'), 89 dumpInfo: hasOption(options, '--dump-info'),
90 buildId: extractStringOption( 90 buildId: extractStringOption(
91 options, '--build-id=', 91 options, '--build-id=',
92 "build number could not be determined"), 92 "build number could not be determined"),
93 showPackageWarnings: 93 showPackageWarnings:
94 hasOption(options, '--show-package-warnings'), 94 hasOption(options, '--show-package-warnings'),
95 useContentSecurityPolicy: hasOption(options, '--csp'), 95 useContentSecurityPolicy: hasOption(options, '--csp'),
96 useStartupEmitter: hasOption(options, '--fast-startup'),
96 hasIncrementalSupport: 97 hasIncrementalSupport:
97 forceIncrementalSupport || 98 forceIncrementalSupport ||
98 hasOption(options, '--incremental-support'), 99 hasOption(options, '--incremental-support'),
99 suppressWarnings: hasOption(options, '--suppress-warnings'), 100 suppressWarnings: hasOption(options, '--suppress-warnings'),
100 fatalWarnings: hasOption(options, '--fatal-warnings'), 101 fatalWarnings: hasOption(options, '--fatal-warnings'),
101 enableExperimentalMirrors: 102 enableExperimentalMirrors:
102 hasOption(options, '--enable-experimental-mirrors'), 103 hasOption(options, '--enable-experimental-mirrors'),
103 generateCodeWithCompileTimeErrors: 104 generateCodeWithCompileTimeErrors:
104 hasOption(options, '--generate-code-with-compile-time-errors'), 105 hasOption(options, '--generate-code-with-compile-time-errors'),
105 testMode: hasOption(options, '--test-mode'), 106 testMode: hasOption(options, '--test-mode'),
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 print('$message: ${tryToString(exception)}'); 478 print('$message: ${tryToString(exception)}');
478 print(tryToString(stackTrace)); 479 print(tryToString(stackTrace));
479 } 480 }
480 481
481 fromEnvironment(String name) => environment[name]; 482 fromEnvironment(String name) => environment[name];
482 483
483 LibraryInfo lookupLibraryInfo(String libraryName) { 484 LibraryInfo lookupLibraryInfo(String libraryName) {
484 return library_info.LIBRARIES[libraryName]; 485 return library_info.LIBRARIES[libraryName];
485 } 486 }
486 } 487 }
OLDNEW
« no previous file with comments | « no previous file | pkg/compiler/lib/src/compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698