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

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

Issue 818543003: dart2js: Remove (some) unused imports. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 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 | « pkg/compiler/lib/src/js_backend/js_backend.dart ('k') | no next file » | 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) 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.js_emitter; 5 library dart2js.js_emitter;
6 6
7 import 'dart:async';
8 import 'dart:convert'; 7 import 'dart:convert';
9 8
10 import '../common.dart'; 9 import '../common.dart';
11 10
12 import '../constants/expressions.dart'; 11 import '../constants/expressions.dart';
13 import '../constants/values.dart'; 12 import '../constants/values.dart';
14 13
15 import '../closure.dart' show 14 import '../closure.dart' show
16 ClosureClassElement, 15 ClosureClassElement,
17 ClosureClassMap, 16 ClosureClassMap,
18 ClosureFieldElement, 17 ClosureFieldElement,
19 CapturedVariable; 18 CapturedVariable;
20 19
21 import '../dart_types.dart' show 20 import '../dart_types.dart' show
22 TypedefType; 21 TypedefType;
23 22
24 import '../io/code_output.dart'; 23 import '../io/code_output.dart';
25 24
26 import '../elements/elements.dart' show 25 import '../elements/elements.dart' show
27 ConstructorBodyElement, 26 ConstructorBodyElement,
28 ElementKind, 27 ElementKind,
29 FieldElement, 28 FieldElement,
30 ParameterElement, 29 ParameterElement,
31 TypeVariableElement; 30 TypeVariableElement;
32 31
33 import '../hash/sha1.dart' show hashOfString;
34
35 import '../helpers/helpers.dart'; // Included for debug helpers. 32 import '../helpers/helpers.dart'; // Included for debug helpers.
36 33
37 import '../js/js.dart' as jsAst; 34 import '../js/js.dart' as jsAst;
38 import '../js/js.dart' show 35 import '../js/js.dart' show
39 js; 36 js;
40 37
41 import '../js_backend/js_backend.dart' show 38 import '../js_backend/js_backend.dart' show
42 CheckedModeHelper, 39 CheckedModeHelper,
43 ConstantEmitter, 40 ConstantEmitter,
44 CustomElementsAnalysis, 41 CustomElementsAnalysis,
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 79
83 import '../util/util.dart' show 80 import '../util/util.dart' show
84 equalElements; 81 equalElements;
85 82
86 import '../deferred_load.dart' show 83 import '../deferred_load.dart' show
87 OutputUnit; 84 OutputUnit;
88 85
89 import 'package:_internal/compiler/js_lib/shared/embedded_names.dart' 86 import 'package:_internal/compiler/js_lib/shared/embedded_names.dart'
90 as embeddedNames; 87 as embeddedNames;
91 88
92 import '../hash/sha1.dart'; 89 import '../hash/sha1.dart';
sigurdm 2015/01/16 07:38:35 Sha1 was a double-import. It might be better to re
floitsch 2015/01/16 09:09:48 It was the "Hasher" class that was imported. The h
93 90
94 part 'class_stub_generator.dart'; 91 part 'class_stub_generator.dart';
95 part 'code_emitter_task.dart'; 92 part 'code_emitter_task.dart';
96 part 'helpers.dart'; 93 part 'helpers.dart';
97 part 'interceptor_stub_generator.dart'; 94 part 'interceptor_stub_generator.dart';
98 part 'native_generator.dart'; 95 part 'native_generator.dart';
99 part 'type_test_generator.dart'; 96 part 'type_test_generator.dart';
100 part 'type_test_registry.dart'; 97 part 'type_test_registry.dart';
101 98
102 part 'old_emitter/class_builder.dart'; 99 part 'old_emitter/class_builder.dart';
103 part 'old_emitter/class_emitter.dart'; 100 part 'old_emitter/class_emitter.dart';
104 part 'old_emitter/code_emitter_helper.dart'; 101 part 'old_emitter/code_emitter_helper.dart';
105 part 'old_emitter/container_builder.dart'; 102 part 'old_emitter/container_builder.dart';
106 part 'old_emitter/declarations.dart'; 103 part 'old_emitter/declarations.dart';
107 part 'old_emitter/emitter.dart'; 104 part 'old_emitter/emitter.dart';
108 part 'old_emitter/interceptor_emitter.dart'; 105 part 'old_emitter/interceptor_emitter.dart';
109 part 'old_emitter/metadata_emitter.dart'; 106 part 'old_emitter/metadata_emitter.dart';
110 part 'old_emitter/nsm_emitter.dart'; 107 part 'old_emitter/nsm_emitter.dart';
111 part 'old_emitter/reflection_data_parser.dart'; 108 part 'old_emitter/reflection_data_parser.dart';
112 part 'old_emitter/type_test_emitter.dart'; 109 part 'old_emitter/type_test_emitter.dart';
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/js_backend/js_backend.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698