Chromium Code Reviews| Index: runtime/vm/isolate.h |
| diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h |
| index 3347f17b478cd6177c96f520534673f92677fcf5..f5ce14ba32a19a5b5a1f9b93e6a846427b900532 100644 |
| --- a/runtime/vm/isolate.h |
| +++ b/runtime/vm/isolate.h |
| @@ -283,6 +283,7 @@ class Isolate : public BaseIsolate { |
| void DoneLoading(); |
| void DoneFinalizing(); |
| +#if !defined(PRODUCT) && !defined(DART_PRECOMPILED_RUNTIME) |
| // By default the reload context is deleted. This parameter allows |
| // the caller to delete is separately if it is still needed. |
| bool ReloadSources(JSONStream* js, |
| @@ -290,6 +291,7 @@ class Isolate : public BaseIsolate { |
| const char* root_script_url = NULL, |
| const char* packages_url = NULL, |
| bool dont_delete_reload_context = false); |
| +#endif // !defined(PRODUCT) && !defined(DART_PRECOMPILED_RUNTIME) |
| bool MakeRunnable(); |
| void Run(); |
| @@ -506,7 +508,10 @@ class Isolate : public BaseIsolate { |
| IsolateReloadContext* reload_context() { return reload_context_; } |
| +#if !defined(PRODUCT) && !defined(DART_PRECOMPILED_RUNTIME) |
|
Vyacheslav Egorov (Google)
2017/08/25 11:43:41
?
kustermann
2017/08/25 11:46:17
Done.
|
| + bool CanReload() const; |
| void DeleteReloadContext(); |
| +#endif // !defined(PRODUCT) && !defined(DART_PRECOMPILED_RUNTIME) |
| bool HasAttemptedReload() const { |
| return HasAttemptedReloadBit::decode(isolate_flags_); |
| @@ -515,8 +520,6 @@ class Isolate : public BaseIsolate { |
| isolate_flags_ = HasAttemptedReloadBit::update(value, isolate_flags_); |
| } |
| - bool CanReload() const; |
| - |
| void set_last_reload_timestamp(int64_t value) { |
| last_reload_timestamp_ = value; |
| } |