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

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

Issue 8769012: Start resolving classes and default constructors. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years 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 | « frog/leg/scanner/listener.dart ('k') | frog/leg/tree/nodes.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/leg/ssa/builder.dart
===================================================================
--- frog/leg/ssa/builder.dart (revision 2023)
+++ frog/leg/ssa/builder.dart (working copy)
@@ -500,7 +500,7 @@
case ">": push(new HGreater(target, left, right)); break;
case ">=": push(new HGreaterEqual(target, left, right)); break;
default: compiler.unimplemented("SsaBuilder.visitBinary");
- }
+ }
}
visitSend(Send node) {
@@ -521,7 +521,7 @@
visit(node.receiver);
visit(node.argumentsNode);
var right = pop();
- var left = pop();
+ var left = pop();
visitBinary(left, op, right, element);
}
} else if (node.isPropertyAccess) {
@@ -561,6 +561,10 @@
}
}
+ visitNewExpression(NewExpression node) {
+ compiler.unimplemented("SsaBuilder: new expression");
+ }
+
HInstruction updateDefinition(Node node, HInstruction value) {
VariableElement element = elements[node];
value = guard(element.type, value);
« no previous file with comments | « frog/leg/scanner/listener.dart ('k') | frog/leg/tree/nodes.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698