aboutsummaryrefslogtreecommitdiff
path: root/tcg/tcg.c
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2010-06-03 19:40:04 +0200
committerAurelien Jarno <aurelien@aurel32.net>2010-06-09 16:10:50 +0200
commitc61aaf7a388c4ad95d8b546fdb9267dc01183317 (patch)
tree6a10e73f3d429b0d66e4ab637fdfb449ba60dcad /tcg/tcg.c
parent239fda311a6f7784bc4f732795722c909b835651 (diff)
tcg: get rid of DEF2 in tcg-opc.h
Now that tcg-opc.h is only used in TCG code, get rid of DEF2 in tcg-opc.h. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'tcg/tcg.c')
-rw-r--r--tcg/tcg.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tcg/tcg.c b/tcg/tcg.c
index b1fe470f43..30b5106e19 100644
--- a/tcg/tcg.c
+++ b/tcg/tcg.c
@@ -69,11 +69,9 @@ static void patch_reloc(uint8_t *code_ptr, int type,
tcg_target_long value, tcg_target_long addend);
static TCGOpDef tcg_op_defs[] = {
-#define DEF(s, n) { #s, 0, 0, n, n, 0 },
-#define DEF2(s, oargs, iargs, cargs, flags) { #s, oargs, iargs, cargs, iargs + oargs + cargs, flags, 0 },
+#define DEF(s, oargs, iargs, cargs, flags) { #s, oargs, iargs, cargs, iargs + oargs + cargs, flags, 0 },
#include "tcg-opc.h"
#undef DEF
-#undef DEF2
};
static TCGRegSet tcg_target_available_regs[2];