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

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

Issue 9382041: Support getting of static functions. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update comments. 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
« no previous file with comments | « frog/leg/lib/core.dart ('k') | frog/leg/universe.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/leg/ssa/builder.dart
diff --git a/frog/leg/ssa/builder.dart b/frog/leg/ssa/builder.dart
index 136c32e70b50e2723f04434bb1c6ad8f52802d41..20007b41b5f6caa303862715e7de68caefd0ca4c 100644
--- a/frog/leg/ssa/builder.dart
+++ b/frog/leg/ssa/builder.dart
@@ -1168,7 +1168,8 @@ class SsaBuilder implements Visitor {
push(new HInvokeDynamicGetter(selector, null, getterName, receiver));
}
} else if (Elements.isStaticOrTopLevelFunction(element)) {
- compiler.unimplemented("SsaBuilder.visitSend with static", node: send);
+ push(new HStatic(element));
+ compiler.registerGetOfStaticFunction(element);
} else {
stack.add(localsHandler.readLocal(element));
}
« no previous file with comments | « frog/leg/lib/core.dart ('k') | frog/leg/universe.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698