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

Side by Side Diff: sdk/lib/_internal/compiler/implementation/js_emitter/js_emitter.dart

Issue 574683002: Use ConstExp for storing constants. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove ConstExpBuilder. Created 6 years, 3 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 | Annotate | Revision Log
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 '../hash/sha1.dart' show hashOfString; 7 import '../hash/sha1.dart' show hashOfString;
8 8
9 import '../common.dart'; 9 import '../common.dart';
10 10
11 import '../js/js.dart' as jsAst; 11 import '../js/js.dart' as jsAst;
12 12
13 import '../new_js_emitter/emitter.dart' as new_js_emitter; 13 import '../new_js_emitter/emitter.dart' as new_js_emitter;
14 14
15 import '../cps_ir/const_expression.dart';
16
15 import '../closure.dart' show 17 import '../closure.dart' show
16 ClosureClassElement, 18 ClosureClassElement,
17 ClosureClassMap, 19 ClosureClassMap,
18 ClosureFieldElement, 20 ClosureFieldElement,
19 CapturedVariable; 21 CapturedVariable;
20 22
21 import '../dart2jslib.dart' show 23 import '../dart2jslib.dart' show
22 CodeBuffer; 24 CodeBuffer;
23 25
24 import '../elements/elements.dart' show ConstructorBodyElement, ElementKind, Par ameterElement, TypeVariableElement; 26 import '../elements/elements.dart' show ConstructorBodyElement, ElementKind, Par ameterElement, TypeVariableElement;
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 part 'code_emitter_helper.dart'; 86 part 'code_emitter_helper.dart';
85 part 'code_emitter_task.dart'; 87 part 'code_emitter_task.dart';
86 part 'container_builder.dart'; 88 part 'container_builder.dart';
87 part 'declarations.dart'; 89 part 'declarations.dart';
88 part 'helpers.dart'; 90 part 'helpers.dart';
89 part 'interceptor_emitter.dart'; 91 part 'interceptor_emitter.dart';
90 part 'metadata_emitter.dart'; 92 part 'metadata_emitter.dart';
91 part 'nsm_emitter.dart'; 93 part 'nsm_emitter.dart';
92 part 'reflection_data_parser.dart'; 94 part 'reflection_data_parser.dart';
93 part 'type_test_emitter.dart'; 95 part 'type_test_emitter.dart';
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698