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

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

Issue 1467733002: Revert "Remove WorldImpact from caches when no longer needed." (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: 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 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;
(...skipping 29 matching lines...) Expand all
40 import '../compiler.dart' show 40 import '../compiler.dart' show
41 Compiler; 41 Compiler;
42 import '../compile_time_constants.dart'; 42 import '../compile_time_constants.dart';
43 import '../constants/constant_system.dart'; 43 import '../constants/constant_system.dart';
44 import '../constants/expressions.dart'; 44 import '../constants/expressions.dart';
45 import '../constants/values.dart'; 45 import '../constants/values.dart';
46 import '../core_types.dart' show 46 import '../core_types.dart' show
47 CoreClasses, 47 CoreClasses,
48 CoreTypes; 48 CoreTypes;
49 import '../dart_types.dart'; 49 import '../dart_types.dart';
50 import '../deferred_load.dart' show
51 DeferredLoadTask;
52 import '../dump_info.dart' show
53 DumpInfoTask;
54 import '../elements/elements.dart'; 50 import '../elements/elements.dart';
55 import '../elements/visitor.dart' show 51 import '../elements/visitor.dart' show
56 BaseElementVisitor; 52 BaseElementVisitor;
57 import '../enqueue.dart' show 53 import '../enqueue.dart' show
58 Enqueuer, 54 Enqueuer,
59 ResolutionEnqueuer; 55 ResolutionEnqueuer;
60 import '../io/code_output.dart'; 56 import '../io/code_output.dart';
61 import '../io/source_information.dart' show 57 import '../io/source_information.dart' show
62 SourceInformationStrategy, 58 SourceInformationStrategy,
63 useNewSourceInfo; 59 useNewSourceInfo;
(...skipping 25 matching lines...) Expand all
89 Selector, 85 Selector,
90 SelectorKind; 86 SelectorKind;
91 import '../universe/universe.dart'; 87 import '../universe/universe.dart';
92 import '../universe/use.dart' show 88 import '../universe/use.dart' show
93 DynamicUse, 89 DynamicUse,
94 StaticUse, 90 StaticUse,
95 StaticUseKind, 91 StaticUseKind,
96 TypeUse, 92 TypeUse,
97 TypeUseKind; 93 TypeUseKind;
98 import '../universe/world_impact.dart' show 94 import '../universe/world_impact.dart' show
99 ImpactStrategy,
100 ImpactUseCase,
101 TransformedWorldImpact, 95 TransformedWorldImpact,
102 WorldImpact, 96 WorldImpact;
103 WorldImpactVisitor;
104 import '../util/characters.dart'; 97 import '../util/characters.dart';
105 import '../util/util.dart'; 98 import '../util/util.dart';
106 import '../world.dart' show 99 import '../world.dart' show
107 ClassWorld; 100 ClassWorld;
108 101
109 import 'backend_helpers.dart'; 102 import 'backend_helpers.dart';
110 import 'backend_impact.dart'; 103 import 'backend_impact.dart';
111 import 'codegen/task.dart'; 104 import 'codegen/task.dart';
112 import 'constant_system_javascript.dart'; 105 import 'constant_system_javascript.dart';
113 import 'patch_resolver.dart'; 106 import 'patch_resolver.dart';
114 import 'js_interop_analysis.dart' show JsInteropAnalysis; 107 import 'js_interop_analysis.dart' show JsInteropAnalysis;
115 import 'lookup_map_analysis.dart' show LookupMapAnalysis; 108 import 'lookup_map_analysis.dart' show LookupMapAnalysis;
116 109
117 part 'backend.dart'; 110 part 'backend.dart';
118 part 'checked_mode_helpers.dart'; 111 part 'checked_mode_helpers.dart';
119 part 'constant_emitter.dart'; 112 part 'constant_emitter.dart';
120 part 'constant_handler_javascript.dart'; 113 part 'constant_handler_javascript.dart';
121 part 'custom_elements_analysis.dart'; 114 part 'custom_elements_analysis.dart';
122 part 'frequency_namer.dart'; 115 part 'frequency_namer.dart';
123 part 'field_naming_mixin.dart'; 116 part 'field_naming_mixin.dart';
124 part 'minify_namer.dart'; 117 part 'minify_namer.dart';
125 part 'namer.dart'; 118 part 'namer.dart';
126 part 'namer_names.dart'; 119 part 'namer_names.dart';
127 part 'no_such_method_registry.dart'; 120 part 'no_such_method_registry.dart';
128 part 'runtime_types.dart'; 121 part 'runtime_types.dart';
129 part 'type_variable_handler.dart'; 122 part 'type_variable_handler.dart';
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/js_backend/backend.dart ('k') | pkg/compiler/lib/src/universe/world_impact.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698