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

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

Issue 869093003: dart2js: Rename metadataEmitter to metadataCollector and make it independent of old emitter. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix more long lines. Created 5 years, 10 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
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 js_backend; 5 library js_backend;
6 6
7 import 'dart:async' show EventSink, Future; 7 import 'dart:async' show EventSink, Future;
8 8
9 import 'package:_internal/compiler/js_lib/shared/embedded_names.dart' 9 import 'package:_internal/compiler/js_lib/shared/embedded_names.dart'
10 as embeddedNames; 10 as embeddedNames;
11 11
12 import '../closure.dart'; 12 import '../closure.dart';
13 import '../constants/expressions.dart'; 13 import '../constants/expressions.dart';
14 import '../constants/values.dart'; 14 import '../constants/values.dart';
15 import '../dart2jslib.dart'; 15 import '../dart2jslib.dart';
16 import '../dart_types.dart'; 16 import '../dart_types.dart';
17 import '../elements/elements.dart'; 17 import '../elements/elements.dart';
18 import '../io/code_output.dart'; 18 import '../io/code_output.dart';
19 import '../js/js.dart' as jsAst; 19 import '../js/js.dart' as jsAst;
20 import '../js/js.dart' show js; 20 import '../js/js.dart' show js;
21 import '../js_emitter/js_emitter.dart' 21 import '../js_emitter/js_emitter.dart'
22 show Emitter, 22 show Emitter,
23 CodeEmitterTask, 23 CodeEmitterTask,
24 ClassBuilder, 24 ClassBuilder,
25 MetadataEmitter, 25 MetadataCollector,
26 USE_NEW_EMITTER; 26 USE_NEW_EMITTER;
27
27 import '../library_loader.dart' show LibraryLoader, LoadedLibraries; 28 import '../library_loader.dart' show LibraryLoader, LoadedLibraries;
28 import '../native/native.dart' as native; 29 import '../native/native.dart' as native;
29 import '../ssa/ssa.dart'; 30 import '../ssa/ssa.dart';
30 import '../tree/tree.dart'; 31 import '../tree/tree.dart';
31 import '../types/types.dart'; 32 import '../types/types.dart';
32 import '../universe/universe.dart'; 33 import '../universe/universe.dart';
33 import '../util/characters.dart'; 34 import '../util/characters.dart';
34 import '../util/util.dart'; 35 import '../util/util.dart';
35 36
36 import '../elements/visitor.dart' show 37 import '../elements/visitor.dart' show
37 ElementVisitor; 38 ElementVisitor;
39
38 import '../js_backend/codegen/task.dart'; 40 import '../js_backend/codegen/task.dart';
39 import 'patch_resolver.dart'; 41 import 'patch_resolver.dart';
40 42
41 part 'backend.dart'; 43 part 'backend.dart';
42 part 'checked_mode_helpers.dart'; 44 part 'checked_mode_helpers.dart';
43 part 'constant_emitter.dart'; 45 part 'constant_emitter.dart';
44 part 'constant_handler_javascript.dart'; 46 part 'constant_handler_javascript.dart';
45 part 'constant_system_javascript.dart'; 47 part 'constant_system_javascript.dart';
46 part 'custom_elements_analysis.dart'; 48 part 'custom_elements_analysis.dart';
47 part 'minify_namer.dart'; 49 part 'minify_namer.dart';
48 part 'namer.dart'; 50 part 'namer.dart';
49 part 'runtime_types.dart'; 51 part 'runtime_types.dart';
50 part 'type_variable_handler.dart'; 52 part 'type_variable_handler.dart';
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698