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

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

Issue 812233004: Add CodeOutput to prepare for emission without in-memory buffers. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Reinsert return. Created 5 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 | 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 '../common.dart'; 7 import '../common.dart';
8 8
9 import '../constants/expressions.dart'; 9 import '../constants/expressions.dart';
10 import '../constants/values.dart'; 10 import '../constants/values.dart';
11 11
12 import '../closure.dart' show 12 import '../closure.dart' show
13 ClosureClassElement, 13 ClosureClassElement,
14 ClosureClassMap, 14 ClosureClassMap,
15 ClosureFieldElement, 15 ClosureFieldElement,
16 CapturedVariable; 16 CapturedVariable;
17 17
18 import '../dart_types.dart' show 18 import '../dart_types.dart' show
19 TypedefType; 19 TypedefType;
20 20
21 import '../dart2jslib.dart' show 21 import '../io/code_output.dart' show
22 CodeBuffer; 22 CodeBuffer;
23 23
24 import '../elements/elements.dart' show 24 import '../elements/elements.dart' show
25 ConstructorBodyElement, 25 ConstructorBodyElement,
26 ElementKind, 26 ElementKind,
27 ParameterElement, 27 ParameterElement,
28 TypeVariableElement; 28 TypeVariableElement;
29 29
30 import '../hash/sha1.dart' show hashOfString; 30 import '../hash/sha1.dart' show hashOfString;
31 31
(...skipping 19 matching lines...) Expand all
51 51
52 import 'model.dart'; 52 import 'model.dart';
53 import 'program_builder.dart'; 53 import 'program_builder.dart';
54 54
55 import 'new_emitter/emitter.dart' as new_js_emitter; 55 import 'new_emitter/emitter.dart' as new_js_emitter;
56 56
57 import '../source_file.dart' show 57 import '../source_file.dart' show
58 SourceFile, 58 SourceFile,
59 StringSourceFile; 59 StringSourceFile;
60 60
61 import '../source_map_builder.dart' show 61 import '../io/source_map_builder.dart' show
62 SourceMapBuilder; 62 SourceMapBuilder;
63 63
64 import '../util/characters.dart' show 64 import '../util/characters.dart' show
65 $$, 65 $$,
66 $A, 66 $A,
67 $HASH, 67 $HASH,
68 $PERIOD, 68 $PERIOD,
69 $Z, 69 $Z,
70 $a, 70 $a,
71 $z; 71 $z;
(...skipping 27 matching lines...) Expand all
99 part 'old_emitter/class_emitter.dart'; 99 part 'old_emitter/class_emitter.dart';
100 part 'old_emitter/code_emitter_helper.dart'; 100 part 'old_emitter/code_emitter_helper.dart';
101 part 'old_emitter/container_builder.dart'; 101 part 'old_emitter/container_builder.dart';
102 part 'old_emitter/declarations.dart'; 102 part 'old_emitter/declarations.dart';
103 part 'old_emitter/emitter.dart'; 103 part 'old_emitter/emitter.dart';
104 part 'old_emitter/interceptor_emitter.dart'; 104 part 'old_emitter/interceptor_emitter.dart';
105 part 'old_emitter/metadata_emitter.dart'; 105 part 'old_emitter/metadata_emitter.dart';
106 part 'old_emitter/nsm_emitter.dart'; 106 part 'old_emitter/nsm_emitter.dart';
107 part 'old_emitter/reflection_data_parser.dart'; 107 part 'old_emitter/reflection_data_parser.dart';
108 part 'old_emitter/type_test_emitter.dart'; 108 part 'old_emitter/type_test_emitter.dart';
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/js_backend/native_emitter.dart ('k') | pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698