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

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

Issue 10987073: Fix issue 5517 by setting the successors the right way in a try/catch. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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 | « lib/compiler/implementation/ssa/nodes.dart ('k') | tests/language/finally_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/ssa/validate.dart
===================================================================
--- lib/compiler/implementation/ssa/validate.dart (revision 12963)
+++ lib/compiler/implementation/ssa/validate.dart (working copy)
@@ -37,7 +37,7 @@
markInvalid("Conditional node without two successors");
}
if (block.last is HGoto && block.successors.length != 1) {
- markInvalid("Goto node without one successor");
+ markInvalid("Goto node with not exactly one successor");
}
if (block.last is HJump && block.successors.length != 1) {
markInvalid("Break or continue node without one successor");
« no previous file with comments | « lib/compiler/implementation/ssa/nodes.dart ('k') | tests/language/finally_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698