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

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

Issue 1464773002: 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;
50 import '../elements/elements.dart'; 54 import '../elements/elements.dart';
51 import '../elements/visitor.dart' show 55 import '../elements/visitor.dart' show
52 BaseElementVisitor; 56 BaseElementVisitor;
53 import '../enqueue.dart' show 57 import '../enqueue.dart' show
54 Enqueuer, 58 Enqueuer,
55 ResolutionEnqueuer; 59 ResolutionEnqueuer;
56 import '../io/code_output.dart'; 60 import '../io/code_output.dart';
57 import '../io/source_information.dart' show 61 import '../io/source_information.dart' show
58 SourceInformationStrategy, 62 SourceInformationStrategy,
59 useNewSourceInfo; 63 useNewSourceInfo;
(...skipping 25 matching lines...) Expand all
85 Selector, 89 Selector,
86 SelectorKind; 90 SelectorKind;
87 import '../universe/universe.dart'; 91 import '../universe/universe.dart';
88 import '../universe/use.dart' show 92 import '../universe/use.dart' show
89 DynamicUse, 93 DynamicUse,
90 StaticUse, 94 StaticUse,
91 StaticUseKind, 95 StaticUseKind,
92 TypeUse, 96 TypeUse,
93 TypeUseKind; 97 TypeUseKind;
94 import '../universe/world_impact.dart' show 98 import '../universe/world_impact.dart' show
99 ImpactStrategy,
100 ImpactUse,
95 TransformedWorldImpact, 101 TransformedWorldImpact,
96 WorldImpact; 102 WorldImpact,
103 WorldImpactVisitor;
97 import '../util/characters.dart'; 104 import '../util/characters.dart';
98 import '../util/util.dart'; 105 import '../util/util.dart';
99 import '../world.dart' show 106 import '../world.dart' show
100 ClassWorld; 107 ClassWorld;
101 108
102 import 'backend_helpers.dart'; 109 import 'backend_helpers.dart';
103 import 'backend_impact.dart'; 110 import 'backend_impact.dart';
104 import 'codegen/task.dart'; 111 import 'codegen/task.dart';
105 import 'constant_system_javascript.dart'; 112 import 'constant_system_javascript.dart';
106 import 'patch_resolver.dart'; 113 import 'patch_resolver.dart';
107 import 'js_interop_analysis.dart' show JsInteropAnalysis; 114 import 'js_interop_analysis.dart' show JsInteropAnalysis;
108 import 'lookup_map_analysis.dart' show LookupMapAnalysis; 115 import 'lookup_map_analysis.dart' show LookupMapAnalysis;
109 116
110 part 'backend.dart'; 117 part 'backend.dart';
111 part 'checked_mode_helpers.dart'; 118 part 'checked_mode_helpers.dart';
112 part 'constant_emitter.dart'; 119 part 'constant_emitter.dart';
113 part 'constant_handler_javascript.dart'; 120 part 'constant_handler_javascript.dart';
114 part 'custom_elements_analysis.dart'; 121 part 'custom_elements_analysis.dart';
115 part 'frequency_namer.dart'; 122 part 'frequency_namer.dart';
116 part 'field_naming_mixin.dart'; 123 part 'field_naming_mixin.dart';
117 part 'minify_namer.dart'; 124 part 'minify_namer.dart';
118 part 'namer.dart'; 125 part 'namer.dart';
119 part 'namer_names.dart'; 126 part 'namer_names.dart';
120 part 'no_such_method_registry.dart'; 127 part 'no_such_method_registry.dart';
121 part 'runtime_types.dart'; 128 part 'runtime_types.dart';
122 part 'type_variable_handler.dart'; 129 part 'type_variable_handler.dart';
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698