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

Unified Diff: runtime/vm/disassembler.cc

Issue 1660063002: Remove many features when building 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/debugger_test.cc ('k') | runtime/vm/exceptions.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 99b13ce4bb29afcd9145c2ad30e11701a15c51f2..927a317fa0b385994cb6dbb641599e159d4e31d8 100644
--- a/runtime/vm/disassembler.cc
+++ b/runtime/vm/disassembler.cc
@@ -44,6 +44,8 @@ void DisassembleToStdout::Print(const char* format, ...) {
}
+#ifndef PRODUCT
+
void DisassembleToJSONStream::ConsumeInstruction(const Code& code,
char* hex_buffer,
intptr_t hex_size,
@@ -91,6 +93,7 @@ void DisassembleToJSONStream::Print(const char* format, ...) {
free(p);
}
+#endif // !PRODUCT
class FindAddrVisitor : public FindObjectVisitor {
public:
« no previous file with comments | « runtime/vm/debugger_test.cc ('k') | runtime/vm/exceptions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698