summaryrefslogtreecommitdiff
path: root/src/arch/instruction.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/instruction.c')
-rw-r--r--src/arch/instruction.c49
1 files changed, 0 insertions, 49 deletions
diff --git a/src/arch/instruction.c b/src/arch/instruction.c
index e3490a8..7106631 100644
--- a/src/arch/instruction.c
+++ b/src/arch/instruction.c
@@ -976,55 +976,6 @@ GBufferLine *g_arch_instruction_print(const GArchInstruction *instr, GCodeBuffer
}
-/******************************************************************************
-* *
-* Paramètres : instr = instruction d'origine à convertir. *
-* ctx = contexte de la phase de décompilation. *
-* *
-* Description : Décompile une instruction de façon générique. *
-* *
-* Retour : Instruction mise en place ou NULL. *
-* *
-* Remarques : - *
-* *
-******************************************************************************/
-
-GDecInstruction *g_arch_instruction_decompile(const GArchInstruction *instr, GDecContext *ctx)
-{
-#if 0
-
- GDecInstruction *result; /* Instruction à retourner */
- GDecInstruction *list; /* Instructions décompilées */
-
- if (instr->decomp != NULL)
- {
- result = instr->decomp(instr, ctx);
-
- if (result != NULL)
- {
- list = g_dec_context_get_decomp_instrs(ctx);
-
- if (list == NULL) list = result;
- else g_dec_instruction_add_to_list(&list, result);
-
- g_dec_context_set_decomp_instrs(ctx, list);
-
- }
-
- }
-
- else
- result = NULL;
-
- return result;
-
-#endif
-
- return NULL;
-
-}
-
-
/* ---------------------------------------------------------------------------------- */
/* TRAITEMENT DES INSTRUCTIONS PAR ENSEMBLE */
/* ---------------------------------------------------------------------------------- */