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

Unified Diff: runtime/vm/thread_interrupter.cc

Issue 1678203002: Remove more feature in product mode (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 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
Index: runtime/vm/thread_interrupter.cc
diff --git a/runtime/vm/thread_interrupter.cc b/runtime/vm/thread_interrupter.cc
index 920baf6b564cc653138ba9a17cbbd0deeb795a15..e11770387d77cf06a3a959839f6185cfe49e073b 100644
--- a/runtime/vm/thread_interrupter.cc
+++ b/runtime/vm/thread_interrupter.cc
@@ -11,6 +11,8 @@
namespace dart {
+#ifndef PRODUCT
+
// Notes:
//
// The ThreadInterrupter interrupts all threads actively running isolates once
@@ -224,4 +226,6 @@ void ThreadInterrupter::ThreadMain(uword parameters) {
}
}
+#endif // !PRODUCT
+
} // namespace dart

Powered by Google App Engine
This is Rietveld 408576698