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

Unified Diff: pkg/compiler/lib/src/helpers/trace.dart

Issue 2865693002: Create closed world for hello world using .dill file (Closed)
Patch Set: Update and fix. Created 3 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
Index: pkg/compiler/lib/src/helpers/trace.dart
diff --git a/pkg/compiler/lib/src/helpers/trace.dart b/pkg/compiler/lib/src/helpers/trace.dart
index 49c93240d0be56ffa27360925a116efdd8c0bc9e..2c92824ab99e890e827ec4120c1d935816a00cf1 100644
--- a/pkg/compiler/lib/src/helpers/trace.dart
+++ b/pkg/compiler/lib/src/helpers/trace.dart
@@ -137,6 +137,10 @@ class StackTraceLines {
// Strip index.
line = line.replaceFirst(indexPattern, '');
+ if (line == '<asynchronous suspension>') {
+ lines.add(new StackTraceLine(index, '', '', '', line));
+ continue;
+ }
int leftParenPos = line.indexOf('(');
int rightParenPos = line.indexOf(')', leftParenPos);

Powered by Google App Engine
This is Rietveld 408576698