summaryrefslogtreecommitdiff
path: root/tools/d2c/rules/manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/d2c/rules/manager.c')
-rw-r--r--tools/d2c/rules/manager.c22
1 files changed, 2 insertions, 20 deletions
diff --git a/tools/d2c/rules/manager.c b/tools/d2c/rules/manager.c
index 1face3e..cd890d0 100644
--- a/tools/d2c/rules/manager.c
+++ b/tools/d2c/rules/manager.c
@@ -497,10 +497,6 @@ void delete_decoding_rules(decoding_rules *rules)
switch (rule->action.type)
{
- case CAT_SEE:
- free(rule->action.details);
- break;
-
case CAT_UNPREDICTABLE:
break;
@@ -663,20 +659,6 @@ bool write_decoding_rules(decoding_rules *rules, CondActionType filter, int fd,
switch (rule->action.type)
{
- case CAT_SEE:
-
-#if 0
- dprintf(fd, "\t\t\tinstr = %s_read_%sinstr_%s", arch, subarch, rule->action.details);
-
- /* TODO : adapter les paramètres d'appel selon le 'coder' */
- dprintf(fd, "(_raw);\n");
-
- dprintf(fd, "\t\t\tgoto quick_exit;\n");
-
- *exit = true;
-#endif
- break;
-
case CAT_UNPREDICTABLE:
break;
@@ -690,8 +672,8 @@ bool write_decoding_rules(decoding_rules *rules, CondActionType filter, int fd,
callable = rule->action.callee;
if (rule->expr != NULL)
- dprintf(fd, "\t")
-;
+ dprintf(fd, "\t");
+
dprintf(fd, "%s", tab);
result = call_instr_func(callable, rule->action.args, fd, bits, list);