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

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

Issue 2637383005: enable --dump-info with the --fast-startup emitter (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) 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 part of dart2js.js_emitter; 5 part of dart2js.js_emitter;
6 6
7 const USE_LAZY_EMITTER = const bool.fromEnvironment("dart2js.use.lazy.emitter"); 7 const USE_LAZY_EMITTER = const bool.fromEnvironment("dart2js.use.lazy.emitter");
8 8
9 /** 9 /**
10 * Generates the code for all used classes in the program. Static fields (even 10 * Generates the code for all used classes in the program. Static fields (even
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 221
222 int compareConstants(ConstantValue a, ConstantValue b); 222 int compareConstants(ConstantValue a, ConstantValue b);
223 bool isConstantInlinedOrAlreadyEmitted(ConstantValue constant); 223 bool isConstantInlinedOrAlreadyEmitted(ConstantValue constant);
224 224
225 /// Returns the JS code for accessing the given [constant]. 225 /// Returns the JS code for accessing the given [constant].
226 jsAst.Expression constantReference(ConstantValue constant); 226 jsAst.Expression constantReference(ConstantValue constant);
227 227
228 /// Returns the JS template for the given [builtin]. 228 /// Returns the JS template for the given [builtin].
229 jsAst.Template templateForBuiltin(JsBuiltin builtin); 229 jsAst.Template templateForBuiltin(JsBuiltin builtin);
230 230
231 /// Returns the size of the code generated for a given output [unit].
232 int generatedSize(OutputUnit unit);
233
231 void invalidateCaches(); 234 void invalidateCaches();
232 } 235 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/io/code_output.dart ('k') | pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698