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

Side by Side Diff: sdk/lib/_internal/compiler/implementation/apiimpl.dart

Issue 21540002: Remove support for remaining deprecated features. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments. Created 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | sdk/lib/_internal/compiler/implementation/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 30 matching lines...) Expand all
41 hasOption(options, '--trust-type-annotations'), 41 hasOption(options, '--trust-type-annotations'),
42 enableMinification: hasOption(options, '--minify'), 42 enableMinification: hasOption(options, '--minify'),
43 enableNativeLiveTypeAnalysis: 43 enableNativeLiveTypeAnalysis:
44 !hasOption(options, '--disable-native-live-type-analysis'), 44 !hasOption(options, '--disable-native-live-type-analysis'),
45 emitJavaScript: !hasOption(options, '--output-type=dart'), 45 emitJavaScript: !hasOption(options, '--output-type=dart'),
46 disallowUnsafeEval: hasOption(options, '--disallow-unsafe-eval'), 46 disallowUnsafeEval: hasOption(options, '--disallow-unsafe-eval'),
47 analyzeAllFlag: hasOption(options, '--analyze-all'), 47 analyzeAllFlag: hasOption(options, '--analyze-all'),
48 analyzeOnly: hasOption(options, '--analyze-only'), 48 analyzeOnly: hasOption(options, '--analyze-only'),
49 analyzeSignaturesOnly: 49 analyzeSignaturesOnly:
50 hasOption(options, '--analyze-signatures-only'), 50 hasOption(options, '--analyze-signatures-only'),
51 rejectDeprecatedFeatures:
52 hasOption(options, '--reject-deprecated-language-features'),
53 checkDeprecationInSdk:
54 hasOption(options,
55 '--report-sdk-use-of-deprecated-language-features'),
56 strips: extractCsvOption(options, '--force-strip='), 51 strips: extractCsvOption(options, '--force-strip='),
57 enableConcreteTypeInference: 52 enableConcreteTypeInference:
58 hasOption(options, '--enable-concrete-type-inference'), 53 hasOption(options, '--enable-concrete-type-inference'),
59 disableTypeInferenceFlag: 54 disableTypeInferenceFlag:
60 hasOption(options, '--disable-type-inference'), 55 hasOption(options, '--disable-type-inference'),
61 preserveComments: hasOption(options, '--preserve-comments'), 56 preserveComments: hasOption(options, '--preserve-comments'),
62 verbose: hasOption(options, '--verbose'), 57 verbose: hasOption(options, '--verbose'),
63 sourceMapUri: extractSourceMapUri(options), 58 sourceMapUri: extractSourceMapUri(options),
64 globalJsName: extractStringOption( 59 globalJsName: extractStringOption(
65 options, '--global-js-name=', r'$'), 60 options, '--global-js-name=', r'$'),
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 handler(translateUri(span.uri, null), span.begin, span.end, 296 handler(translateUri(span.uri, null), span.begin, span.end,
302 message, kind); 297 message, kind);
303 } 298 }
304 } 299 }
305 300
306 bool get isMockCompilation { 301 bool get isMockCompilation {
307 return mockableLibraryUsed 302 return mockableLibraryUsed
308 && (options.indexOf('--allow-mock-compilation') != -1); 303 && (options.indexOf('--allow-mock-compilation') != -1);
309 } 304 }
310 } 305 }
OLDNEW
« no previous file with comments | « no previous file | sdk/lib/_internal/compiler/implementation/compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698