Index: runtime/vm/object.h |
diff --git a/runtime/vm/object.h b/runtime/vm/object.h |
index c7ad01329a13641a5ef24c759e21ff3cc8353840..9c45c861ba4d27f8ed8f272e67f73aaa1fd07db9 100644 |
--- a/runtime/vm/object.h |
+++ b/runtime/vm/object.h |
@@ -2519,6 +2519,8 @@ class Script : public Object { |
intptr_t* first_token_index, |
intptr_t* last_token_index) const; |
+ RawLibrary* FindLibrary() const; |
+ |
static intptr_t InstanceSize() { |
return RoundedAllocationSize(sizeof(RawScript)); |
} |
@@ -2527,6 +2529,8 @@ class Script : public Object { |
const String& source, |
RawScript::Kind kind); |
+ static RawScript* FindByUrl(const String& url); |
+ |
private: |
void set_url(const String& value) const; |
void set_source(const String& value) const; |