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

Unified Diff: frog/leg/compiler.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 | « no previous file | frog/leg/emitter.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/leg/compiler.dart
diff --git a/frog/leg/compiler.dart b/frog/leg/compiler.dart
index 57de705348fe6f582282cab5613c00754562a02b..259b13b0af645cae3773779c160585ceb37cd7dd 100644
--- a/frog/leg/compiler.dart
+++ b/frog/leg/compiler.dart
@@ -265,6 +265,11 @@ class Compiler implements DiagnosticListener {
addToWorklist(element);
}
+ void registerGetOfStaticFunction(FunctionElement element) {
+ registerStaticUse(element);
+ universe.staticFunctionsNeedingGetter.add(element);
+ }
+
void registerDynamicInvocation(SourceString methodName, Selector selector) {
assert(selector !== null);
Set<Invocation> existing = universe.invokedNames[methodName];
« no previous file with comments | « no previous file | frog/leg/emitter.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698