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

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

Issue 1421463005: Move codegen registration to transformImpact method. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Updated cf. comments. Created 5 years, 1 month 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) 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 dart_backend; 5 library dart_backend;
6 6
7 import 'dart:async' show Future; 7 import 'dart:async' show Future;
8 import 'dart:math' show max; 8 import 'dart:math' show max;
9 9
10 import '../../compiler.dart' show 10 import '../../compiler.dart' show
11 CompilerOutputProvider; 11 CompilerOutputProvider;
12 import '../common.dart'; 12 import '../common.dart';
13 import '../common/backend_api.dart' show 13 import '../common/backend_api.dart' show
14 Backend; 14 Backend,
15 ImpactTransformer;
15 import '../common/codegen.dart' show 16 import '../common/codegen.dart' show
16 CodegenWorkItem; 17 CodegenWorkItem;
17 import '../common/names.dart' show 18 import '../common/names.dart' show
18 Selectors, 19 Selectors,
19 Uris; 20 Uris;
20 import '../common/registry.dart' show 21 import '../common/registry.dart' show
21 Registry; 22 Registry;
22 import '../common/resolution.dart' show 23 import '../common/resolution.dart' show
23 Resolution, 24 Resolution,
24 ResolutionCallbacks, 25 ResolutionImpact;
25 ResolutionImpact,
26 TransformedWorldImpact;
27 import '../common/tasks.dart' show 26 import '../common/tasks.dart' show
28 CompilerTask; 27 CompilerTask;
29 import '../compiler.dart' show 28 import '../compiler.dart' show
30 Compiler; 29 Compiler;
31 import '../compile_time_constants.dart'; 30 import '../compile_time_constants.dart';
32 import '../constants/constant_system.dart'; 31 import '../constants/constant_system.dart';
33 import '../constants/expressions.dart'; 32 import '../constants/expressions.dart';
34 import '../constants/values.dart'; 33 import '../constants/values.dart';
35 import '../dart_types.dart'; 34 import '../dart_types.dart';
36 import '../elements/elements.dart'; 35 import '../elements/elements.dart';
37 import '../enqueue.dart' show 36 import '../enqueue.dart' show
38 Enqueuer, 37 Enqueuer,
39 ResolutionEnqueuer; 38 ResolutionEnqueuer;
40 import '../library_loader.dart' show 39 import '../library_loader.dart' show
41 LoadedLibraries; 40 LoadedLibraries;
42 import '../mirror_renamer/mirror_renamer.dart'; 41 import '../mirror_renamer/mirror_renamer.dart';
43 import '../resolution/tree_elements.dart' show 42 import '../resolution/tree_elements.dart' show
44 TreeElements, 43 TreeElements,
45 TreeElementMapping; 44 TreeElementMapping;
46 import '../tokens/keyword.dart' show 45 import '../tokens/keyword.dart' show
47 Keyword; 46 Keyword;
48 import '../tree/tree.dart'; 47 import '../tree/tree.dart';
49 import '../universe/selector.dart' show 48 import '../universe/selector.dart' show
50 Selector; 49 Selector;
51 import '../universe/universe.dart' show 50 import '../universe/universe.dart' show
52 UniverseSelector; 51 UniverseSelector;
53 import '../universe/world_impact.dart' show 52 import '../universe/world_impact.dart' show
54 WorldImpact; 53 WorldImpact,
54 TransformedWorldImpact;
55 import '../util/util.dart'; 55 import '../util/util.dart';
56 import 'backend_ast_to_frontend_ast.dart' as backend2frontend; 56 import 'backend_ast_to_frontend_ast.dart' as backend2frontend;
57 57
58 part 'backend.dart'; 58 part 'backend.dart';
59 part 'renamer.dart'; 59 part 'renamer.dart';
60 part 'placeholder_collector.dart'; 60 part 'placeholder_collector.dart';
61 part 'outputter.dart'; 61 part 'outputter.dart';
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/dart_backend/backend.dart ('k') | pkg/compiler/lib/src/js_backend/backend.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698