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

Unified Diff: sdk/lib/_internal/compiler/implementation/ssa/tracer.dart

Issue 13947004: dart2js: Allow 'throw' when inlining (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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: sdk/lib/_internal/compiler/implementation/ssa/tracer.dart
diff --git a/sdk/lib/_internal/compiler/implementation/ssa/tracer.dart b/sdk/lib/_internal/compiler/implementation/ssa/tracer.dart
index ca58e8fa3bc6be8429a5360da7cf107194339b1e..1dc573d1abafefb85ee8562a347f315ac8973cb6 100644
--- a/sdk/lib/_internal/compiler/implementation/ssa/tracer.dart
+++ b/sdk/lib/_internal/compiler/implementation/ssa/tracer.dart
@@ -479,6 +479,10 @@ class HInstructionStringifier implements HVisitor<String> {
String visitThrow(HThrow node) => "Throw ${temporaryId(node.inputs[0])}";
+ String visitThrowExpression(HThrowExpression node) {
+ return "ThrowExpression ${temporaryId(node.inputs[0])}";
+ }
+
String visitExitTry(HExitTry node) {
return "Exit try";
}

Powered by Google App Engine
This is Rietveld 408576698