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

Unified Diff: runtime/vm/resolver.h

Issue 891053004: Make Dart_Invoke work for private static functions (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 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 | « runtime/vm/dart_api_impl_test.cc ('k') | runtime/vm/resolver.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/resolver.h
diff --git a/runtime/vm/resolver.h b/runtime/vm/resolver.h
index 32ef3bcce9b5d6c9a839f69cf59ecb103bc649af..1ea883e39b041b01523c03d80eb62d73863ba7b9 100644
--- a/runtime/vm/resolver.h
+++ b/runtime/vm/resolver.h
@@ -49,11 +49,19 @@ class Resolver : public AllStatic {
intptr_t num_arguments,
const Array& argument_names);
- // Resolve specified dart static function with specified arity.
+ // Resolve specified dart static function with specified arity. Only resolves
+ // public functions.
static RawFunction* ResolveStatic(const Class& cls,
const String& function_name,
intptr_t num_arguments,
const Array& argument_names);
+
+ // Resolve specified dart static function with specified arity. Resolves both
+ // public and private functions.
+ static RawFunction* ResolveStaticAllowPrivate(const Class& cls,
+ const String& function_name,
+ intptr_t num_arguments,
+ const Array& argument_names);
};
} // namespace dart
« no previous file with comments | « runtime/vm/dart_api_impl_test.cc ('k') | runtime/vm/resolver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698