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

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

Issue 1376113002: dart2js: Remove ConcreteTypeInference (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 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 unified diff | Download patch
« no previous file with comments | « no previous file | pkg/compiler/lib/src/commandline_options.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 'package:package_config/packages.dart'; 10 import 'package:package_config/packages.dart';
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 emitJavaScript: !(hasOption(options, '--output-type=dart') || 83 emitJavaScript: !(hasOption(options, '--output-type=dart') ||
84 hasOption(options, '--output-type=dart-multi')), 84 hasOption(options, '--output-type=dart-multi')),
85 dart2dartMultiFile: hasOption(options, '--output-type=dart-multi'), 85 dart2dartMultiFile: hasOption(options, '--output-type=dart-multi'),
86 generateSourceMap: !hasOption(options, Flags.noSourceMaps), 86 generateSourceMap: !hasOption(options, Flags.noSourceMaps),
87 analyzeAllFlag: hasOption(options, Flags.analyzeAll), 87 analyzeAllFlag: hasOption(options, Flags.analyzeAll),
88 analyzeOnly: hasOption(options, Flags.analyzeOnly), 88 analyzeOnly: hasOption(options, Flags.analyzeOnly),
89 analyzeMain: hasOption(options, Flags.analyzeMain), 89 analyzeMain: hasOption(options, Flags.analyzeMain),
90 analyzeSignaturesOnly: 90 analyzeSignaturesOnly:
91 hasOption(options, Flags.analyzeSignaturesOnly), 91 hasOption(options, Flags.analyzeSignaturesOnly),
92 strips: extractCsvOption(options, '--force-strip='), 92 strips: extractCsvOption(options, '--force-strip='),
93 enableConcreteTypeInference:
94 hasOption(options, Flags.enableConcreteTypeInference),
95 disableTypeInferenceFlag: 93 disableTypeInferenceFlag:
96 hasOption(options, Flags.disableTypeInference), 94 hasOption(options, Flags.disableTypeInference),
97 preserveComments: hasOption(options, Flags.preserveComments), 95 preserveComments: hasOption(options, Flags.preserveComments),
98 useCpsIr: hasOption(options, Flags.useCpsIr), 96 useCpsIr: hasOption(options, Flags.useCpsIr),
99 verbose: hasOption(options, Flags.verbose), 97 verbose: hasOption(options, Flags.verbose),
100 sourceMapUri: extractUriOption(options, '--source-map='), 98 sourceMapUri: extractUriOption(options, '--source-map='),
101 outputUri: extractUriOption(options, '--out='), 99 outputUri: extractUriOption(options, '--out='),
102 terseDiagnostics: hasOption(options, Flags.terse), 100 terseDiagnostics: hasOption(options, Flags.terse),
103 deferredMapUri: extractUriOption(options, '--deferred-map='), 101 deferredMapUri: extractUriOption(options, '--deferred-map='),
104 dumpInfo: hasOption(options, Flags.dumpInfo), 102 dumpInfo: hasOption(options, Flags.dumpInfo),
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after
546 print('$message: ${tryToString(exception)}'); 544 print('$message: ${tryToString(exception)}');
547 print(tryToString(stackTrace)); 545 print(tryToString(stackTrace));
548 } 546 }
549 547
550 fromEnvironment(String name) => environment[name]; 548 fromEnvironment(String name) => environment[name];
551 549
552 LibraryInfo lookupLibraryInfo(String libraryName) { 550 LibraryInfo lookupLibraryInfo(String libraryName) {
553 return library_info.LIBRARIES[libraryName]; 551 return library_info.LIBRARIES[libraryName];
554 } 552 }
555 } 553 }
OLDNEW
« no previous file with comments | « no previous file | pkg/compiler/lib/src/commandline_options.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698