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

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

Issue 8513004: Throw and a small fix to If. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Change diff-base Created 9 years, 1 month 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: frog/leg/ssa/codegen.dart
diff --git a/frog/leg/ssa/codegen.dart b/frog/leg/ssa/codegen.dart
index e9bf680329f4d3e358b4272a23d719b258d1b465..d3eaf39f84043dbe085cabe2297dd82e582f0a07 100644
--- a/frog/leg/ssa/codegen.dart
+++ b/frog/leg/ssa/codegen.dart
@@ -251,6 +251,11 @@ class SsaCodeGenerator implements HVisitor {
invoke(const SourceString('\$sub'), node.inputs);
}
+ visitThrow(HThrow node) {
+ buffer.add('throw ');
ngeoffray 2011/11/10 13:22:37 I think we support rethrow, so this may not have a
+ use(node.inputs[0]);
+ }
+
visitTruncatingDivide(HTruncatingDivide node) {
invoke(const SourceString('\$tdiv'), node.inputs);
}

Powered by Google App Engine
This is Rietveld 408576698