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

Unified Diff: lib/compiler/implementation/ssa/builder.dart

Issue 10804024: Add source mapping info to loops. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 5 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 | lib/compiler/implementation/ssa/codegen.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/ssa/builder.dart
diff --git a/lib/compiler/implementation/ssa/builder.dart b/lib/compiler/implementation/ssa/builder.dart
index ad6ece14120e6e5ebb869afaf763d286260be500..7ffe061bbb142bedb42f73a5e7000d18fcdfc9d5 100644
--- a/lib/compiler/implementation/ssa/builder.dart
+++ b/lib/compiler/implementation/ssa/builder.dart
@@ -1394,7 +1394,8 @@ class SsaBuilder extends ResolvedVisitor implements Visitor {
wrapStatementGraph(bodyGraph),
wrapExpressionGraph(updateGraph),
conditionBlock.loopInformation.target,
- conditionBlock.loopInformation.labels);
+ conditionBlock.loopInformation.labels,
+ loop);
startBlock.setBlockFlow(info, current);
loopInfo.loopBlockInformation = info;
@@ -1521,7 +1522,8 @@ class SsaBuilder extends ResolvedVisitor implements Visitor {
wrapStatementGraph(bodyGraph),
null,
loopEntryBlock.loopInformation.target,
- loopEntryBlock.loopInformation.labels);
+ loopEntryBlock.loopInformation.labels,
+ node);
loopEntryBlock.setBlockFlow(loopBlockInfo, current);
loopInfo.loopBlockInformation = loopBlockInfo;
}
« no previous file with comments | « no previous file | lib/compiler/implementation/ssa/codegen.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698