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

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

Issue 1385183002: Revert "Avoid eager enqueueing from resolution" (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) 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 import 'dart:collection' show HashMap; 8 import 'dart:collection' show HashMap;
9 9
10 import 'package:js_runtime/shared/embedded_names.dart' as embeddedNames; 10 import 'package:js_runtime/shared/embedded_names.dart' as embeddedNames;
11 import 'package:js_runtime/shared/embedded_names.dart' show JsGetName; 11 import 'package:js_runtime/shared/embedded_names.dart' show JsGetName;
12 12
13 import '../closure.dart'; 13 import '../closure.dart';
14 import '../common/backend_api.dart' show 14 import '../common/backend_api.dart' show
15 Backend, 15 Backend,
16 ForeignResolver; 16 ForeignResolver;
17 import '../common/codegen.dart' show 17 import '../common/codegen.dart' show
18 CodegenRegistry, 18 CodegenRegistry,
19 CodegenWorkItem; 19 CodegenWorkItem;
20 import '../common/names.dart' show 20 import '../common/names.dart' show
21 Identifiers, 21 Identifiers,
22 Selectors, 22 Selectors,
23 Uris; 23 Uris;
24 import '../common/registry.dart' show 24 import '../common/registry.dart' show
25 Registry; 25 Registry;
26 import '../common/tasks.dart' show 26 import '../common/tasks.dart' show
27 CompilerTask; 27 CompilerTask;
28 import '../common/resolution.dart' show 28 import '../common/resolution.dart' show
29 Feature,
30 ListLiteralUse,
31 MapLiteralUse,
32 Resolution, 29 Resolution,
33 ResolutionCallbacks, 30 ResolutionCallbacks;
34 ResolutionWorldImpact,
35 TransformedWorldImpact;
36 import '../common/work.dart' show 31 import '../common/work.dart' show
37 ItemCompilationContext; 32 ItemCompilationContext;
38 import '../compiler.dart' show 33 import '../compiler.dart' show
39 Compiler; 34 Compiler;
40 import '../compile_time_constants.dart'; 35 import '../compile_time_constants.dart';
41 import '../constants/constant_system.dart'; 36 import '../constants/constant_system.dart';
42 import '../constants/expressions.dart'; 37 import '../constants/expressions.dart';
43 import '../constants/values.dart'; 38 import '../constants/values.dart';
44 import '../dart_types.dart'; 39 import '../dart_types.dart';
45 import '../diagnostics/diagnostic_listener.dart' show 40 import '../diagnostics/diagnostic_listener.dart' show
(...skipping 29 matching lines...) Expand all
75 import '../js/rewrite_async.dart'; 70 import '../js/rewrite_async.dart';
76 import '../js_emitter/js_emitter.dart' show 71 import '../js_emitter/js_emitter.dart' show
77 CodeEmitterTask, 72 CodeEmitterTask,
78 Emitter, 73 Emitter,
79 MetadataCollector, 74 MetadataCollector,
80 Placeholder, 75 Placeholder,
81 USE_LAZY_EMITTER; 76 USE_LAZY_EMITTER;
82 import '../library_loader.dart' show LibraryLoader, LoadedLibraries; 77 import '../library_loader.dart' show LibraryLoader, LoadedLibraries;
83 import '../native/native.dart' as native; 78 import '../native/native.dart' as native;
84 import '../resolution/registry.dart' show 79 import '../resolution/registry.dart' show
85 EagerRegistry; 80 ResolutionRegistry;
86 import '../resolution/tree_elements.dart' show 81 import '../resolution/tree_elements.dart' show
87 TreeElements; 82 TreeElements;
88 import '../ssa/ssa.dart'; 83 import '../ssa/ssa.dart';
89 import '../tree/tree.dart'; 84 import '../tree/tree.dart';
90 import '../types/types.dart'; 85 import '../types/types.dart';
91 import '../universe/call_structure.dart' show 86 import '../universe/call_structure.dart' show
92 CallStructure; 87 CallStructure;
93 import '../universe/selector.dart' show 88 import '../universe/selector.dart' show
94 Selector, 89 Selector,
95 SelectorKind; 90 SelectorKind;
(...skipping 14 matching lines...) Expand all
110 part 'constant_handler_javascript.dart'; 105 part 'constant_handler_javascript.dart';
111 part 'custom_elements_analysis.dart'; 106 part 'custom_elements_analysis.dart';
112 part 'frequency_namer.dart'; 107 part 'frequency_namer.dart';
113 part 'field_naming_mixin.dart'; 108 part 'field_naming_mixin.dart';
114 part 'minify_namer.dart'; 109 part 'minify_namer.dart';
115 part 'namer.dart'; 110 part 'namer.dart';
116 part 'namer_names.dart'; 111 part 'namer_names.dart';
117 part 'no_such_method_registry.dart'; 112 part 'no_such_method_registry.dart';
118 part 'runtime_types.dart'; 113 part 'runtime_types.dart';
119 part 'type_variable_handler.dart'; 114 part 'type_variable_handler.dart';
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/js_backend/backend.dart ('k') | pkg/compiler/lib/src/resolution/class_members.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698