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

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

Issue 1397043002: Introduce BackendImpact to separate enqueueing from data. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Updated cf. comments. 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;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 NO_LOCATION_SPANNABLE, 53 NO_LOCATION_SPANNABLE,
54 Spannable, 54 Spannable,
55 SpannableAssertionFailure; 55 SpannableAssertionFailure;
56 import '../elements/elements.dart'; 56 import '../elements/elements.dart';
57 import '../elements/visitor.dart' show 57 import '../elements/visitor.dart' show
58 BaseElementVisitor; 58 BaseElementVisitor;
59 import '../enqueue.dart' show 59 import '../enqueue.dart' show
60 Enqueuer, 60 Enqueuer,
61 ResolutionEnqueuer, 61 ResolutionEnqueuer,
62 WorldImpact; 62 WorldImpact;
63 import '../helpers/helpers.dart';
63 import '../io/code_output.dart'; 64 import '../io/code_output.dart';
64 import '../io/source_information.dart' show 65 import '../io/source_information.dart' show
65 SourceInformationStrategy, 66 SourceInformationStrategy,
66 useNewSourceInfo; 67 useNewSourceInfo;
67 import '../io/position_information.dart' show 68 import '../io/position_information.dart' show
68 PositionSourceInformationStrategy; 69 PositionSourceInformationStrategy;
69 import '../io/start_end_information.dart' show 70 import '../io/start_end_information.dart' show
70 StartEndSourceInformationStrategy; 71 StartEndSourceInformationStrategy;
71 import '../js/js.dart' as jsAst; 72 import '../js/js.dart' as jsAst;
72 import '../js/js.dart' show js; 73 import '../js/js.dart' show js;
(...skipping 19 matching lines...) Expand all
92 CallStructure; 93 CallStructure;
93 import '../universe/selector.dart' show 94 import '../universe/selector.dart' show
94 Selector, 95 Selector,
95 SelectorKind; 96 SelectorKind;
96 import '../universe/universe.dart'; 97 import '../universe/universe.dart';
97 import '../util/characters.dart'; 98 import '../util/characters.dart';
98 import '../util/util.dart'; 99 import '../util/util.dart';
99 import '../world.dart' show 100 import '../world.dart' show
100 ClassWorld; 101 ClassWorld;
101 102
103 import 'backend_helpers.dart';
104 import 'backend_impact.dart';
102 import 'codegen/task.dart'; 105 import 'codegen/task.dart';
103 import 'constant_system_javascript.dart'; 106 import 'constant_system_javascript.dart';
104 import 'patch_resolver.dart'; 107 import 'patch_resolver.dart';
105 import 'lookup_map_analysis.dart' show LookupMapAnalysis; 108 import 'lookup_map_analysis.dart' show LookupMapAnalysis;
106 109
107 part 'backend.dart'; 110 part 'backend.dart';
108 part 'checked_mode_helpers.dart'; 111 part 'checked_mode_helpers.dart';
109 part 'constant_emitter.dart'; 112 part 'constant_emitter.dart';
110 part 'constant_handler_javascript.dart'; 113 part 'constant_handler_javascript.dart';
111 part 'custom_elements_analysis.dart'; 114 part 'custom_elements_analysis.dart';
112 part 'frequency_namer.dart'; 115 part 'frequency_namer.dart';
113 part 'field_naming_mixin.dart'; 116 part 'field_naming_mixin.dart';
114 part 'minify_namer.dart'; 117 part 'minify_namer.dart';
115 part 'namer.dart'; 118 part 'namer.dart';
116 part 'namer_names.dart'; 119 part 'namer_names.dart';
117 part 'no_such_method_registry.dart'; 120 part 'no_such_method_registry.dart';
118 part 'runtime_types.dart'; 121 part 'runtime_types.dart';
119 part 'type_variable_handler.dart'; 122 part 'type_variable_handler.dart';
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/js_backend/custom_elements_analysis.dart ('k') | pkg/compiler/lib/src/js_backend/runtime_types.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698