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

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

Issue 1880323002: dart2js cleanup: remove unused imports and variables (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: merge master Created 4 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
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' show Future, EventSink; 7 import 'dart:async' show Future;
8 import 'dart:convert' show UTF8, LineSplitter; 8 import 'dart:convert' show UTF8, LineSplitter;
9 import 'dart:io' 9 import 'dart:io' show exit, File, FileMode, Platform, stdin, stderr;
10 show 10
11 exit, 11 import 'package:package_config/discovery.dart' show findPackages;
12 File,
13 FileMode,
14 Platform,
15 RandomAccessFile,
16 FileSystemException,
17 stdin,
18 stderr;
19 12
20 import '../compiler.dart' as api; 13 import '../compiler.dart' as api;
21 import 'commandline_options.dart'; 14 import 'commandline_options.dart';
15 import 'filenames.dart';
22 import 'io/source_file.dart'; 16 import 'io/source_file.dart';
23 import 'source_file_provider.dart'; 17 import 'source_file_provider.dart';
24 import 'filenames.dart'; 18 import 'util/command_line.dart';
25 import 'util/uri_extras.dart'; 19 import 'util/uri_extras.dart';
26 import 'util/util.dart' show stackTraceFilePrefix; 20 import 'util/util.dart' show stackTraceFilePrefix;
27 import 'util/command_line.dart';
28 import 'package:package_config/discovery.dart' show findPackages;
29 21
30 const String LIBRARY_ROOT = '../../../../../sdk'; 22 const String LIBRARY_ROOT = '../../../../../sdk';
31 const String OUTPUT_LANGUAGE_DART = 'Dart'; 23 const String OUTPUT_LANGUAGE_DART = 'Dart';
32 24
33 /** 25 /**
34 * A string to identify the revision or build. 26 * A string to identify the revision or build.
35 * 27 *
36 * This ID is displayed if the compiler crashes and in verbose mode, and is 28 * This ID is displayed if the compiler crashes and in verbose mode, and is
37 * an aid in reproducing bug reports. 29 * an aid in reproducing bug reports.
38 * 30 *
(...skipping 743 matching lines...) Expand 10 before | Expand all | Expand 10 after
782 } else if (exitCode == 253) { 774 } else if (exitCode == 253) {
783 print(">>> TEST CRASH"); 775 print(">>> TEST CRASH");
784 } else { 776 } else {
785 print(">>> TEST FAIL"); 777 print(">>> TEST FAIL");
786 } 778 }
787 stderr.writeln(">>> EOF STDERR"); 779 stderr.writeln(">>> EOF STDERR");
788 subscription.resume(); 780 subscription.resume();
789 }); 781 });
790 }); 782 });
791 } 783 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/cps_ir/type_mask_system.dart ('k') | pkg/compiler/lib/src/dart_backend/backend.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698