From 3e6abb8ad4dc91d585dde412519436ce77a2517c Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 28 Jun 2019 11:06:32 +0100 Subject: [PATCH] remove auto-gen of #define for suboffset args --- id_regs.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/id_regs.py b/id_regs.py index 04d9163..7525aca 100644 --- a/id_regs.py +++ b/id_regs.py @@ -202,13 +202,9 @@ def find_registers(fname, insn, twin_predication, immed_offset, is_branch): res.append('#define PRED_ARGS %s' % ','.join(predargs)) offsargs = [] - suboargs = [] for i in range(len(predargs)): offsargs.append(predargs[i].replace('pred', 'offs').replace("&", '')) res.append('#define OFFS_ARGS %s' % ','.join(offsargs)) - for i in range(len(predargs)): - suboargs.append(predargs[i].replace('pred', 'subo').replace("&", '')) - res.append('#define SUBO_ARGS %s' % ','.join(suboargs)) return '\n'.join(res) -- 2.30.2