Do not output ARM64 assembler debug code.
This breaks the run tests, which are a simple diff against an
expected output. Please do such changes in a local change.
Change-Id: Ib961919600ba79eca1356278bc6c09ca17041c7c
diff --git a/compiler/utils/arm64/assembler_arm64.h b/compiler/utils/arm64/assembler_arm64.h
index 3abcaad..0220724 100644
--- a/compiler/utils/arm64/assembler_arm64.h
+++ b/compiler/utils/arm64/assembler_arm64.h
@@ -85,17 +85,6 @@
vixl_masm_(new vixl::MacroAssembler(vixl_buf_, BUF_SIZE)) {}
virtual ~Arm64Assembler() {
- if (kIsDebugBuild) {
- vixl::Decoder *decoder = new vixl::Decoder();
- vixl::PrintDisassembler *test = new vixl::PrintDisassembler(stdout);
- decoder->AppendVisitor(test);
-
- for (size_t i = 0; i < CodeSize() / vixl::kInstructionSize; ++i) {
- vixl::Instruction *instr =
- reinterpret_cast<vixl::Instruction*>(vixl_buf_ + i * vixl::kInstructionSize);
- decoder->Decode(instr);
- }
- }
delete[] vixl_buf_;
}