From 44e135459e30286d7cb2a1f21680edaa84f2e171 Mon Sep 17 00:00:00 2001 From: Andreas Gampe Date: Thu, 3 Apr 2014 13:16:01 -0700 Subject: 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 --- compiler/utils/arm64/assembler_arm64.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'compiler/utils') diff --git a/compiler/utils/arm64/assembler_arm64.h b/compiler/utils/arm64/assembler_arm64.h index 3abcaad84b..022072461c 100644 --- a/compiler/utils/arm64/assembler_arm64.h +++ b/compiler/utils/arm64/assembler_arm64.h @@ -85,17 +85,6 @@ class Arm64Assembler FINAL : public Assembler { 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_buf_ + i * vixl::kInstructionSize); - decoder->Decode(instr); - } - } delete[] vixl_buf_; } -- cgit v1.2.3-59-g8ed1b