Chromium Code Reviews| Index: runtime/vm/object.h |
| diff --git a/runtime/vm/object.h b/runtime/vm/object.h |
| index 0f6ecbb1976220ad249d2ac42d4f2a220d753070..9012c6642e8080487af2ea484fb530de8380d011 100644 |
| --- a/runtime/vm/object.h |
| +++ b/runtime/vm/object.h |
| @@ -2514,6 +2514,7 @@ class Script : public Object { |
| void Tokenize(const String& private_key) const; |
| + RawLibrary* FindLibrary() const; |
| RawString* GetLine(intptr_t line_number) const; |
| RawString* GetSnippet(intptr_t from_token_pos, |
| intptr_t to_token_pos) const; |
| @@ -2676,7 +2677,7 @@ class Library : public Object { |
| RawFunction* LookupLocalFunction(const String& name) const; |
| RawLibraryPrefix* LookupLocalLibraryPrefix(const String& name) const; |
| RawScript* LookupScript(const String& url) const; |
| - RawArray* LoadedScripts() const; |
| + RawArray* LoadedScripts(bool cached = true) const; |
|
Michael Lippautz (Google)
2014/07/15 17:52:55
Make parameter explicit?
LoadedScripts() uses a c
|
| // Resolve name in the scope of this library. First check the cache |
| // of already resolved names for this library. Then look in the |