| Index: runtime/vm/object.cc
|
| diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
|
| index 04c4e6824dc5cc8a75cef79673ad47d4fa45a660..def3345a3f7036408b6c0e20d4988792403f90bb 100644
|
| --- a/runtime/vm/object.cc
|
| +++ b/runtime/vm/object.cc
|
| @@ -11024,7 +11024,7 @@ void Library::AllocatePrivateKey() const {
|
| Zone* zone = thread->zone();
|
| Isolate* isolate = thread->isolate();
|
|
|
| -#if !defined(PRODUCT)
|
| +#if !defined(PRODUCT) && !defined(DART_PRECOMPILED_RUNTIME)
|
| if (FLAG_support_reload && isolate->IsReloading()) {
|
| // When reloading, we need to make sure we use the original private key
|
| // if this library previously existed.
|
| @@ -11036,7 +11036,7 @@ void Library::AllocatePrivateKey() const {
|
| return;
|
| }
|
| }
|
| -#endif // !defined(PRODUCT)
|
| +#endif // !defined(PRODUCT) && !defined(DART_PRECOMPILED_RUNTIME)
|
|
|
| // Format of the private key is: "@<sequence number><6 digits of hash>
|
| const intptr_t hash_mask = 0x7FFFF;
|
|
|