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

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

Issue 2609063002: Further reduce use of Element in codegen. (Closed)
Patch Set: Created 3 years, 11 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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 dart2js.js_emitter; 5 library dart2js.js_emitter;
6 6
7 import 'package:js_ast/src/precedence.dart' as js_precedence; 7 import 'package:js_ast/src/precedence.dart' as js_precedence;
8 import 'package:js_runtime/shared/embedded_names.dart' as embeddedNames; 8 import 'package:js_runtime/shared/embedded_names.dart' as embeddedNames;
9 import 'package:js_runtime/shared/embedded_names.dart' show JsBuiltin; 9 import 'package:js_runtime/shared/embedded_names.dart' show JsBuiltin;
10 10
(...skipping 13 matching lines...) Expand all
24 TypedefType, 24 TypedefType,
25 Types, 25 Types,
26 TypeVariableType; 26 TypeVariableType;
27 import '../deferred_load.dart' show OutputUnit; 27 import '../deferred_load.dart' show OutputUnit;
28 import '../elements/elements.dart' 28 import '../elements/elements.dart'
29 show 29 show
30 ClassElement, 30 ClassElement,
31 ConstructorElement, 31 ConstructorElement,
32 Element, 32 Element,
33 ElementKind, 33 ElementKind,
34 Entity,
34 FieldElement, 35 FieldElement,
35 FunctionElement, 36 FunctionElement,
36 FunctionSignature, 37 FunctionSignature,
37 MetadataAnnotation, 38 MetadataAnnotation,
38 MethodElement, 39 MethodElement,
39 MixinApplicationElement, 40 MixinApplicationElement,
40 ParameterElement, 41 ParameterElement,
41 TypeVariableElement; 42 TypeVariableElement;
42 import '../js/js.dart' as jsAst; 43 import '../js/js.dart' as jsAst;
43 import '../js/js.dart' show js; 44 import '../js/js.dart' show js;
(...skipping 26 matching lines...) Expand all
70 part 'code_emitter_task.dart'; 71 part 'code_emitter_task.dart';
71 part 'helpers.dart'; 72 part 'helpers.dart';
72 part 'interceptor_stub_generator.dart'; 73 part 'interceptor_stub_generator.dart';
73 part 'main_call_stub_generator.dart'; 74 part 'main_call_stub_generator.dart';
74 part 'metadata_collector.dart'; 75 part 'metadata_collector.dart';
75 part 'native_emitter.dart'; 76 part 'native_emitter.dart';
76 part 'native_generator.dart'; 77 part 'native_generator.dart';
77 part 'parameter_stub_generator.dart'; 78 part 'parameter_stub_generator.dart';
78 part 'runtime_type_generator.dart'; 79 part 'runtime_type_generator.dart';
79 part 'type_test_registry.dart'; 80 part 'type_test_registry.dart';
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698