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

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: 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
Index: frog/leg/universe.dart
diff --git a/frog/leg/universe.dart b/frog/leg/universe.dart
index 7f0cf0adf262ab7f4b58592c77205cb2a07f2bf7..a06f9ee4216094aba262c744e15e61686e9b8854 100644
--- a/frog/leg/universe.dart
+++ b/frog/leg/universe.dart
@@ -6,6 +6,7 @@ class Universe {
Map<Element, String> generatedCode;
Map<Element, String> generatedBailoutCode;
final Set<ClassElement> instantiatedClasses;
+ final Set<FunctionElement> staticFunctionsNeedingGetter;
// TODO(floitsch): we want more information than just the method name. For
// example the number of arguments, etc.
floitsch 2012/02/12 20:43:11 We can remove this TODO, correct?
ngeoffray 2012/02/13 10:21:52 Yes.
final Map<SourceString, Set<Selector>> invokedNames;
@@ -17,6 +18,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>();

Powered by Google App Engine
This is Rietveld 408576698