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

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

Issue 10454049: Validate that all instructions dominate their inputs. And fix a bug where that did not happen. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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: lib/compiler/implementation/ssa/closure.dart
===================================================================
--- lib/compiler/implementation/ssa/closure.dart (revision 8031)
+++ lib/compiler/implementation/ssa/closure.dart (working copy)
@@ -436,8 +436,9 @@
visitTryStatement(TryStatement node) {
// TODO(ngeoffray): implement finer grain state.
+ bool oldInTryCatchOrFinally = inTryCatchOrFinally;
inTryCatchOrFinally = true;
node.visitChildren(this);
- inTryCatchOrFinally = false;
+ inTryCatchOrFinally = oldInTryCatchOrFinally;
}
}

Powered by Google App Engine
This is Rietveld 408576698