| Index: runtime/lib/object.cc
|
| diff --git a/runtime/lib/object.cc b/runtime/lib/object.cc
|
| index 2c43d96e58db30af0e22668af6838a940ae0a122..d8693a1bb0a75002f0e84de7b5db5d7d9fd40974 100644
|
| --- a/runtime/lib/object.cc
|
| +++ b/runtime/lib/object.cc
|
| @@ -378,6 +378,13 @@ DEFINE_NATIVE_ENTRY(LibraryPrefix_loadError, 1) {
|
| }
|
|
|
|
|
| +DEFINE_NATIVE_ENTRY(LibraryPrefix_isLoaded, 1) {
|
| + const LibraryPrefix& prefix =
|
| + LibraryPrefix::CheckedHandle(arguments->NativeArgAt(0));
|
| + return Bool::Get(prefix.is_loaded()).raw();
|
| +}
|
| +
|
| +
|
| DEFINE_NATIVE_ENTRY(Internal_inquireIs64Bit, 0) {
|
| #if defined(ARCH_IS_64_BIT)
|
| return Bool::True().raw();
|
|
|