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

Unified Diff: pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart

Issue 1131253002: dart2js: Properly track descriptor asts for dumpinfo. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart
diff --git a/pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart b/pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart
index 86771674c1473283455f49a7c9fa58520e04ca78..dd2c214d749f956ddbcd98accd490c3fe046f230 100644
--- a/pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart
+++ b/pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart
@@ -1360,7 +1360,8 @@ class OldEmitter implements Emitter {
// so that 'dart.' will appear as the prefix to dart methods in stack
// traces and profile entries.
mainOutput..add('var dart =')
- ..addBuffer(jsAst.prettyPrint(descriptorsAst, compiler))
+ ..addBuffer(jsAst.prettyPrint(descriptorsAst, compiler,
+ monitor: compiler.dumpInfoTask))
..add('$N');
if (compiler.useContentSecurityPolicy) {
jsAst.Statement precompiledFunctionAst =
@@ -1827,7 +1828,8 @@ function(originalDescriptor, name, holder, isStatic, globalFunctionsAccess) {
// 'dart' so that 'dart.' will appear as the prefix to dart methods
// in stack traces and profile entries.
..add('var dart = $n ')
- ..addBuffer(jsAst.prettyPrint(libraryDescriptor, compiler))
+ ..addBuffer(jsAst.prettyPrint(libraryDescriptor, compiler,
+ monitor: compiler.dumpInfoTask))
..add('$N');
if (compiler.useContentSecurityPolicy) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698