Index: runtime/vm/object.h |
diff --git a/runtime/vm/object.h b/runtime/vm/object.h |
index 7419287d79927ee72997d5fb8c29efd0cf733fa9..8f5075bdc9058cf108253c5dec06b15959fffca3 100644 |
--- a/runtime/vm/object.h |
+++ b/runtime/vm/object.h |
@@ -3977,6 +3977,11 @@ class Library : public Object { |
void CheckReload(const Library& replacement, |
IsolateReloadContext* context) const; |
+ // Returns a closure of top level function 'name' in the exported namespace |
+ // of this library. If a top level function 'name' does not exist we look |
+ // for a top level getter 'name' that returns a closure. |
+ RawObject* GetFunctionClosure(const String& name) const; |
+ |
private: |
static const int kInitialImportsCapacity = 4; |
static const int kImportsCapacityIncrement = 8; |