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

Unified Diff: runtime/vm/handles.h

Issue 1663863002: Add product mode: (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Reworked the flags setting: Moving to single file for all flag defintions. Created 4 years, 11 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/flow_graph_compiler.cc ('k') | runtime/vm/handles.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/handles.h
diff --git a/runtime/vm/handles.h b/runtime/vm/handles.h
index 5e07d6eb2f2f0728aa0d97fadedeb40ff734e8fc..aab078cb92c6d91c5ca004a11dfa54f77ac99a06 100644
--- a/runtime/vm/handles.h
+++ b/runtime/vm/handles.h
@@ -61,7 +61,6 @@ class ObjectPointerVisitor;
class Thread;
DECLARE_FLAG(bool, verify_handles);
-DECLARE_DEBUG_FLAG(bool, trace_handles);
class HandleVisitor {
public:
@@ -257,12 +256,10 @@ class VMHandles : public Handles<kVMHandleSizeInWords,
VMHandles() : Handles<kVMHandleSizeInWords,
kVMHandlesPerChunk,
kOffsetOfRawPtr>() {
-#ifdef DEBUG
if (FLAG_trace_handles) {
OS::PrintErr("*** Starting a new VM handle block 0x%" Px "\n",
reinterpret_cast<intptr_t>(this));
}
-#endif
}
~VMHandles();
« no previous file with comments | « runtime/vm/flow_graph_compiler.cc ('k') | runtime/vm/handles.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698