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

Side by Side Diff: pkg/compiler/lib/src/apiimpl.dart

Issue 1089793002: Add a command line option to use the new CPS based backend. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update comment. Created 5 years, 8 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 | Annotate | Revision Log
« 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 8
9 import '../compiler.dart' as api; 9 import '../compiler.dart' as api;
10 import 'dart2jslib.dart' as leg; 10 import 'dart2jslib.dart' as leg;
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 analyzeOnly: hasOption(options, '--analyze-only'), 59 analyzeOnly: hasOption(options, '--analyze-only'),
60 analyzeMain: hasOption(options, '--analyze-main'), 60 analyzeMain: hasOption(options, '--analyze-main'),
61 analyzeSignaturesOnly: 61 analyzeSignaturesOnly:
62 hasOption(options, '--analyze-signatures-only'), 62 hasOption(options, '--analyze-signatures-only'),
63 strips: extractCsvOption(options, '--force-strip='), 63 strips: extractCsvOption(options, '--force-strip='),
64 enableConcreteTypeInference: 64 enableConcreteTypeInference:
65 hasOption(options, '--enable-concrete-type-inference'), 65 hasOption(options, '--enable-concrete-type-inference'),
66 disableTypeInferenceFlag: 66 disableTypeInferenceFlag:
67 hasOption(options, '--disable-type-inference'), 67 hasOption(options, '--disable-type-inference'),
68 preserveComments: hasOption(options, '--preserve-comments'), 68 preserveComments: hasOption(options, '--preserve-comments'),
69 useCpsIr: hasOption(options, '--use-cps-ir'),
69 verbose: hasOption(options, '--verbose'), 70 verbose: hasOption(options, '--verbose'),
70 sourceMapUri: extractUriOption(options, '--source-map='), 71 sourceMapUri: extractUriOption(options, '--source-map='),
71 outputUri: extractUriOption(options, '--out='), 72 outputUri: extractUriOption(options, '--out='),
72 terseDiagnostics: hasOption(options, '--terse'), 73 terseDiagnostics: hasOption(options, '--terse'),
73 deferredMapUri: extractUriOption(options, '--deferred-map='), 74 deferredMapUri: extractUriOption(options, '--deferred-map='),
74 dumpInfo: hasOption(options, '--dump-info'), 75 dumpInfo: hasOption(options, '--dump-info'),
75 buildId: extractStringOption( 76 buildId: extractStringOption(
76 options, '--build-id=', 77 options, '--build-id=',
77 "build number could not be determined"), 78 "build number could not be determined"),
78 showPackageWarnings: 79 showPackageWarnings:
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 print('$message: ${tryToString(exception)}'); 402 print('$message: ${tryToString(exception)}');
402 print(tryToString(stackTrace)); 403 print(tryToString(stackTrace));
403 } 404 }
404 405
405 fromEnvironment(String name) => environment[name]; 406 fromEnvironment(String name) => environment[name];
406 407
407 LibraryInfo lookupLibraryInfo(String libraryName) { 408 LibraryInfo lookupLibraryInfo(String libraryName) {
408 return library_info.LIBRARIES[libraryName]; 409 return library_info.LIBRARIES[libraryName];
409 } 410 }
410 } 411 }
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