| Index: runtime/vm/isolate.h
|
| diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h
|
| index 316c26a488a9ca4e285ef916ed10bbac92b8a276..bbd7b240259bf3f4e9435165531a785ace46ed23 100644
|
| --- a/runtime/vm/isolate.h
|
| +++ b/runtime/vm/isolate.h
|
| @@ -515,6 +515,7 @@ class Isolate : public BaseIsolate {
|
| #if !defined(PRODUCT)
|
| VMTagCounters* vm_tag_counters() { return &vm_tag_counters_; }
|
|
|
| +#if !defined(DART_PRECOMPILED_RUNTIME)
|
| bool IsReloading() const { return reload_context_ != NULL; }
|
|
|
| IsolateReloadContext* reload_context() { return reload_context_; }
|
| @@ -534,6 +535,11 @@ class Isolate : public BaseIsolate {
|
| last_reload_timestamp_ = value;
|
| }
|
| int64_t last_reload_timestamp() const { return last_reload_timestamp_; }
|
| +#else
|
| + bool IsReloading() const { return false; }
|
| + bool HasAttemptedReload() const { return false; }
|
| + bool CanReload() const { return false; }
|
| +#endif // !defined(DART_PRECOMPILED_RUNTIME)
|
| #endif // !defined(PRODUCT)
|
|
|
| bool IsPaused() const;
|
|
|