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

Side by Side Diff: pkg/compiler/lib/src/dart2js.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
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 dart2js.cmdline; 5 library dart2js.cmdline;
6 6
7 import 'dart:async' 7 import 'dart:async'
8 show Future, EventSink; 8 show Future, EventSink;
9 import 'dart:convert' show UTF8, LineSplitter; 9 import 'dart:convert' show UTF8, LineSplitter;
10 import 'dart:io' 10 import 'dart:io'
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 new OptionHandler(Flags.fastStartup, passThrough), 322 new OptionHandler(Flags.fastStartup, passThrough),
323 new OptionHandler('${Flags.minify}|-m', implyCompilation), 323 new OptionHandler('${Flags.minify}|-m', implyCompilation),
324 new OptionHandler(Flags.preserveUris, passThrough), 324 new OptionHandler(Flags.preserveUris, passThrough),
325 new OptionHandler('--force-strip=.*', setStrip), 325 new OptionHandler('--force-strip=.*', setStrip),
326 new OptionHandler(Flags.disableDiagnosticColors, 326 new OptionHandler(Flags.disableDiagnosticColors,
327 (_) => diagnosticHandler.enableColors = false), 327 (_) => diagnosticHandler.enableColors = false),
328 new OptionHandler(Flags.enableDiagnosticColors, 328 new OptionHandler(Flags.enableDiagnosticColors,
329 (_) => diagnosticHandler.enableColors = true), 329 (_) => diagnosticHandler.enableColors = true),
330 new OptionHandler('--enable[_-]checked[_-]mode|--checked', 330 new OptionHandler('--enable[_-]checked[_-]mode|--checked',
331 (_) => setCheckedMode(Flags.enableCheckedMode)), 331 (_) => setCheckedMode(Flags.enableCheckedMode)),
332 new OptionHandler(Flags.enableConcreteTypeInference,
333 (_) => implyCompilation(
334 Flags.enableConcreteTypeInference)),
335 new OptionHandler(Flags.trustTypeAnnotations, 332 new OptionHandler(Flags.trustTypeAnnotations,
336 (_) => setTrustTypeAnnotations( 333 (_) => setTrustTypeAnnotations(
337 Flags.trustTypeAnnotations)), 334 Flags.trustTypeAnnotations)),
338 new OptionHandler(Flags.trustPrimitives, 335 new OptionHandler(Flags.trustPrimitives,
339 (_) => setTrustPrimitives( 336 (_) => setTrustPrimitives(
340 Flags.trustPrimitives)), 337 Flags.trustPrimitives)),
341 new OptionHandler(r'--help|/\?|/h', (_) => wantHelp = true), 338 new OptionHandler(r'--help|/\?|/h', (_) => wantHelp = true),
342 new OptionHandler('--packages=.+', setPackageConfig), 339 new OptionHandler('--packages=.+', setPackageConfig),
343 new OptionHandler('--package-root=.+|-p.+', setPackageRoot), 340 new OptionHandler('--package-root=.+|-p.+', setPackageRoot),
344 new OptionHandler(Flags.analyzeAll, setAnalyzeAll), 341 new OptionHandler(Flags.analyzeAll, setAnalyzeAll),
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
769 } else if (exitCode == 253) { 766 } else if (exitCode == 253) {
770 print(">>> TEST CRASH"); 767 print(">>> TEST CRASH");
771 } else { 768 } else {
772 print(">>> TEST FAIL"); 769 print(">>> TEST FAIL");
773 } 770 }
774 stderr.writeln(">>> EOF STDERR"); 771 stderr.writeln(">>> EOF STDERR");
775 subscription.resume(); 772 subscription.resume();
776 }); 773 });
777 }); 774 });
778 } 775 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/compiler.dart ('k') | pkg/compiler/lib/src/inferrer/concrete_types_inferrer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698