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

Unified Diff: runtime/vm/disassembler.h

Issue 2662933002: Fix simarm product build on Windows (Closed)
Patch Set: Created 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/disassembler.h
diff --git a/runtime/vm/disassembler.h b/runtime/vm/disassembler.h
index 283f16ed3b9f28c4a28417a17c9afc04a05ae6bf..8b17c67a85bc84058cb193a821fa67d74009b62b 100644
--- a/runtime/vm/disassembler.h
+++ b/runtime/vm/disassembler.h
@@ -102,15 +102,23 @@ class Disassembler : public AllStatic {
}
static void Disassemble(uword start, uword end, const Code& code) {
+#ifndef PRODUCT
DisassembleToStdout stdout_formatter;
LogBlock lb;
Disassemble(start, end, &stdout_formatter, code);
+#else
+ UNREACHABLE();
+#endif
}
static void Disassemble(uword start, uword end) {
+#ifndef PRODUCT
DisassembleToStdout stdout_formatter;
LogBlock lb;
Disassemble(start, end, &stdout_formatter);
+#else
+ UNREACHABLE();
+#endif
}
// Decodes one instruction.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698