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

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
Index: runtime/vm/disassembler.cc
diff --git a/runtime/vm/disassembler.cc b/runtime/vm/disassembler.cc
index 927a317fa0b385994cb6dbb641599e159d4e31d8..d629ca4cb98f2bf92215a8ff637d33fe4d707206 100644
--- a/runtime/vm/disassembler.cc
+++ b/runtime/vm/disassembler.cc
@@ -16,6 +16,8 @@
namespace dart {
+#ifndef PRODUCT
+
void DisassembleToStdout::ConsumeInstruction(const Code& code,
char* hex_buffer,
intptr_t hex_size,
@@ -182,4 +184,6 @@ void Disassembler::Disassemble(uword start,
}
}
+#endif // !PRODUCT
+
} // namespace dart

Powered by Google App Engine
This is Rietveld 408576698