Skip to content

Commit

Permalink
Remove debugging output.
Browse files Browse the repository at this point in the history
This commit removes two pieces of debugging output:
  1) Removes instruction identifier from mnemonic.
  2) Sets DEBUG_AARCH32_DECODE macro to zero.
  • Loading branch information
rchyena committed Sep 7, 2017
1 parent 8047bcb commit 27e4fe0
Show file tree
Hide file tree
Showing 2 changed files with 1,115 additions and 1,115 deletions.
4 changes: 2 additions & 2 deletions instructionAPI/arm_manual_parser.py
Expand Up @@ -1045,7 +1045,7 @@ def make_instruction_table(self):
insn.info['mnemonic'])
entry = ' {aarch32_op_%s, "%s", %s, 0x%08x, 0x%08x}' % (
insn.id,
mnemonic.lower() + ' ' + insn.id,
mnemonic.lower(), # + ' ' + insn.id,
self.join_instruction_operands(insn),
int(insn.bitList),
int(insn.bitList.get_mask())
Expand Down Expand Up @@ -1158,7 +1158,7 @@ def generate_decode_source(self):
//
// Static functions for use in this file only.
//
#define DEBUG_AARCH32_DECODE 1
#define DEBUG_AARCH32_DECODE 0
#if DEBUG_AARCH32_DECODE
static void print_bin(FILE* fp, uint32_t insn)
Expand Down

0 comments on commit 27e4fe0

Please sign in to comment.