Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(720)

Unified Diff: runtime/vm/isolate.h

Issue 3003383002: [VM] Make us compile with debug-optimization-level=0 again (Closed)
Patch Set: Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/vm/service.cc » ('j') | runtime/vm/service.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « no previous file | runtime/vm/service.cc » ('j') | runtime/vm/service.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698