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

Unified Diff: runtime/vm/disassembler.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
« no previous file with comments | « runtime/vm/deopt_instructions.cc ('k') | runtime/vm/disassembler_arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « runtime/vm/deopt_instructions.cc ('k') | runtime/vm/disassembler_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698