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

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

Issue 1424923004: Add StaticUse for more precise registration of statically known element use. (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 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 TreeElements; 78 TreeElements;
79 import '../ssa/ssa.dart'; 79 import '../ssa/ssa.dart';
80 import '../tree/tree.dart'; 80 import '../tree/tree.dart';
81 import '../types/types.dart'; 81 import '../types/types.dart';
82 import '../universe/call_structure.dart' show 82 import '../universe/call_structure.dart' show
83 CallStructure; 83 CallStructure;
84 import '../universe/selector.dart' show 84 import '../universe/selector.dart' show
85 Selector, 85 Selector,
86 SelectorKind; 86 SelectorKind;
87 import '../universe/universe.dart'; 87 import '../universe/universe.dart';
88 import '../universe/use.dart' show
89 StaticUse;
88 import '../universe/world_impact.dart' show 90 import '../universe/world_impact.dart' show
89 TransformedWorldImpact, 91 TransformedWorldImpact,
90 WorldImpact; 92 WorldImpact;
91 import '../util/characters.dart'; 93 import '../util/characters.dart';
92 import '../util/util.dart'; 94 import '../util/util.dart';
93 import '../world.dart' show 95 import '../world.dart' show
94 ClassWorld; 96 ClassWorld;
95 97
96 import 'backend_helpers.dart'; 98 import 'backend_helpers.dart';
97 import 'backend_impact.dart'; 99 import 'backend_impact.dart';
98 import 'codegen/task.dart'; 100 import 'codegen/task.dart';
99 import 'constant_system_javascript.dart'; 101 import 'constant_system_javascript.dart';
100 import 'patch_resolver.dart'; 102 import 'patch_resolver.dart';
101 import 'js_interop_analysis.dart' show JsInteropAnalysis; 103 import 'js_interop_analysis.dart' show JsInteropAnalysis;
102 import 'lookup_map_analysis.dart' show LookupMapAnalysis; 104 import 'lookup_map_analysis.dart' show LookupMapAnalysis;
103 105
104 part 'backend.dart'; 106 part 'backend.dart';
105 part 'checked_mode_helpers.dart'; 107 part 'checked_mode_helpers.dart';
106 part 'constant_emitter.dart'; 108 part 'constant_emitter.dart';
107 part 'constant_handler_javascript.dart'; 109 part 'constant_handler_javascript.dart';
108 part 'custom_elements_analysis.dart'; 110 part 'custom_elements_analysis.dart';
109 part 'frequency_namer.dart'; 111 part 'frequency_namer.dart';
110 part 'field_naming_mixin.dart'; 112 part 'field_naming_mixin.dart';
111 part 'minify_namer.dart'; 113 part 'minify_namer.dart';
112 part 'namer.dart'; 114 part 'namer.dart';
113 part 'namer_names.dart'; 115 part 'namer_names.dart';
114 part 'no_such_method_registry.dart'; 116 part 'no_such_method_registry.dart';
115 part 'runtime_types.dart'; 117 part 'runtime_types.dart';
116 part 'type_variable_handler.dart'; 118 part 'type_variable_handler.dart';
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698