Index: runtime/vm/disassembler.cc |
diff --git a/runtime/vm/disassembler.cc b/runtime/vm/disassembler.cc |
index f7a333f470b5b787eb628df2025815a643821d08..1fe421502baa4e293e612eaf35695caaecdcb42a 100644 |
--- a/runtime/vm/disassembler.cc |
+++ b/runtime/vm/disassembler.cc |
@@ -17,6 +17,8 @@ |
namespace dart { |
+#ifndef PRODUCT |
+ |
DECLARE_FLAG(bool, trace_inlining_intervals); |
void DisassembleToStdout::ConsumeInstruction(const Code& code, |
@@ -47,8 +49,6 @@ void DisassembleToStdout::Print(const char* format, ...) { |
} |
-#ifndef PRODUCT |
- |
void DisassembleToJSONStream::ConsumeInstruction(const Code& code, |
char* hex_buffer, |
intptr_t hex_size, |
@@ -96,7 +96,6 @@ void DisassembleToJSONStream::Print(const char* format, ...) { |
free(p); |
} |
-#endif // !PRODUCT |
class FindAddrVisitor : public FindObjectVisitor { |
public: |
@@ -326,5 +325,6 @@ void Disassembler::DisassembleCode(const Function& function, bool optimized) { |
} |
} |
+#endif // !PRODUCT |
} // namespace dart |