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

Unified Diff: tests/compiler/dart2js/sourcemaps/js_tracer.dart

Issue 1773553002: Add source location to function declarations. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Updated cf. comments. Created 4 years, 9 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 | « pkg/compiler/lib/src/io/position_information.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/sourcemaps/js_tracer.dart
diff --git a/tests/compiler/dart2js/sourcemaps/js_tracer.dart b/tests/compiler/dart2js/sourcemaps/js_tracer.dart
index 4ea4e91a7f7dbeec83c80705239fddc960e7bac0..56d6f129beb7eef7921d13fd4d29a9bd325a82db 100644
--- a/tests/compiler/dart2js/sourcemaps/js_tracer.dart
+++ b/tests/compiler/dart2js/sourcemaps/js_tracer.dart
@@ -35,7 +35,10 @@ class StepTraceListener extends TraceListener
SourcePositionKind sourcePositionKind = SourcePositionKind.START;
List text = [node];
switch (kind) {
- case StepKind.FUN:
+ case StepKind.FUN_ENTRY:
+ text = ['<entry>'];
+ break;
+ case StepKind.FUN_EXIT:
sourcePositionKind = SourcePositionKind.INNER;
text = ['<exit>'];
break;
« no previous file with comments | « pkg/compiler/lib/src/io/position_information.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698