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

Unified Diff: runtime/vm/isolate.cc

Issue 2979243002: Remove some pause-related fields in a PRODUCT build (Closed)
Patch Set: . Created 3 years, 5 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 | « runtime/vm/isolate.h ('k') | runtime/vm/message_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/isolate.cc
diff --git a/runtime/vm/isolate.cc b/runtime/vm/isolate.cc
index 770c70e74882686ce35748cec82c5ad341d5cd1d..c8f8ff2227e514e23e6556dc92699c36ad82502d 100644
--- a/runtime/vm/isolate.cc
+++ b/runtime/vm/isolate.cc
@@ -759,9 +759,9 @@ Isolate::Isolate(const Dart_IsolateFlags& api_flags)
api_state_(NULL),
#if !defined(PRODUCT)
debugger_(NULL),
-#endif
resume_request_(false),
last_resume_timestamp_(OS::GetCurrentTimeMillis()),
+#endif
random_(),
simulator_(NULL),
mutex_(new Mutex()),
@@ -2279,7 +2279,6 @@ RawInstance* Isolate::LookupServiceExtensionHandler(const String& name) {
}
return Instance::null();
}
-#endif // !PRODUCT
void Isolate::WakePauseEventHandler(Dart_Isolate isolate) {
Isolate* iso = reinterpret_cast<Isolate*>(isolate);
@@ -2335,6 +2334,7 @@ void Isolate::PauseEventHandler() {
set_message_notify_callback(saved_notify_callback);
Dart_ExitScope();
}
+#endif // !PRODUCT
void Isolate::VisitIsolates(IsolateVisitor* visitor) {
if (visitor == NULL) {
« no previous file with comments | « runtime/vm/isolate.h ('k') | runtime/vm/message_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698