Index: runtime/vm/object.h |
diff --git a/runtime/vm/object.h b/runtime/vm/object.h |
index 640af8fe6c8309eaf494fd567cc6ba7ae83cec1b..57ab51d96d37d8c108bc107c0eb19d6da693fede 100644 |
--- a/runtime/vm/object.h |
+++ b/runtime/vm/object.h |
@@ -3632,7 +3632,9 @@ class Library : public Object { |
StoreNonPointer(&raw_ptr()->index_, value); |
} |
- void Register() const; |
+ void Register(Thread* thread) const; |
+ static void RegisterLibraries(Thread* thread, |
+ const GrowableObjectArray& libs); |
bool IsDebuggable() const { |
return raw_ptr()->debuggable_; |
@@ -3654,7 +3656,7 @@ class Library : public Object { |
inline intptr_t UrlHash() const; |
- static RawLibrary* LookupLibrary(const String& url); |
+ static RawLibrary* LookupLibrary(Thread* thread, const String& url); |
static RawLibrary* GetLibrary(intptr_t index); |
static void InitCoreLibrary(Isolate* isolate); |
@@ -3738,7 +3740,6 @@ class Library : public Object { |
bool import_core_lib); |
RawObject* LookupEntry(const String& name, intptr_t *index) const; |
- static bool IsKeyUsed(intptr_t key); |
void AllocatePrivateKey() const; |
RawString* MakeMetadataName(const Object& obj) const; |