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

Unified Diff: runtime/vm/tags.cc

Issue 2146713004: More changes to use #ifndef PRODUCT ... #endif explicitly instead of relying on compiler magic. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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/tags.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/tags.cc
diff --git a/runtime/vm/tags.cc b/runtime/vm/tags.cc
index fa3cc67629834c6149763121881f909436b0d962..ccb52ab200341ffc836da8687c4af016ff20213a 100644
--- a/runtime/vm/tags.cc
+++ b/runtime/vm/tags.cc
@@ -137,6 +137,7 @@ int64_t VMTagCounters::count(uword tag) {
}
+#ifndef PRODUCT
void VMTagCounters::PrintToJSONObject(JSONObject* obj) {
if (!FLAG_support_service) {
return;
@@ -154,6 +155,7 @@ void VMTagCounters::PrintToJSONObject(JSONObject* obj) {
}
}
}
+#endif // !PRODUCT
const char* UserTags::TagName(uword tag_id) {
« no previous file with comments | « runtime/vm/tags.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698