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

Unified Diff: frog/leg/universe.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/ssa/builder.dart ('k') | tests/co19/co19-leg.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/leg/universe.dart
diff --git a/frog/leg/universe.dart b/frog/leg/universe.dart
index d59f6f7592c351483c53d41e1708ab463d8cb050..0353c744886e4709d72b491055bed13de8bb9399 100644
--- a/frog/leg/universe.dart
+++ b/frog/leg/universe.dart
@@ -6,8 +6,7 @@ class Universe {
Map<Element, String> generatedCode;
Map<Element, String> generatedBailoutCode;
final Set<ClassElement> instantiatedClasses;
- // TODO(floitsch): we want more information than just the method name. For
- // example the number of arguments, etc.
+ final Set<FunctionElement> staticFunctionsNeedingGetter;
final Map<SourceString, Set<Selector>> invokedNames;
final Set<SourceString> invokedGetters;
final Set<SourceString> invokedSetters;
@@ -17,6 +16,7 @@ class Universe {
generatedBailoutCode = new Map<Element, String>(),
libraries = new Map<String, LibraryElement>(),
instantiatedClasses = new Set<ClassElement>(),
+ staticFunctionsNeedingGetter = new Set<FunctionElement>(),
invokedNames = new Map<SourceString, Set<Invocation>>(),
invokedGetters = new Set<SourceString>(),
invokedSetters = new Set<SourceString>();
« no previous file with comments | « frog/leg/ssa/builder.dart ('k') | tests/co19/co19-leg.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698