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 |