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

Unified Diff: dart/frog/leg/ssa/nodes.dart

Issue 9474040: Improve exception handling: (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 10 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: dart/frog/leg/ssa/nodes.dart
diff --git a/dart/frog/leg/ssa/nodes.dart b/dart/frog/leg/ssa/nodes.dart
index 0787b22e2fd0ee5cfcb8cc11902a5cf2c7a4c9f1..9ca686f18e0f6171908ca41d9c8f814dfa700e1c 100644
--- a/dart/frog/leg/ssa/nodes.dart
+++ b/dart/frog/leg/ssa/nodes.dart
@@ -2084,7 +2084,8 @@ class HReturn extends HControlFlow {
}
class HThrow extends HControlFlow {
- HThrow(value) : super(<HInstruction>[value]);
+ final bool isRethrow;
+ HThrow(value, [this.isRethrow = false]) : super(<HInstruction>[value]);
toString() => 'throw';
accept(HVisitor visitor) => visitor.visitThrow(this);
}

Powered by Google App Engine
This is Rietveld 408576698