summaryrefslogtreecommitdiff
path: root/src/arch/instruction.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2016-12-15 13:48:06 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2016-12-15 13:48:06 (GMT)
commit12ebd5475a71466e7a9f3dc07a3f312e25bf639f (patch)
treea38e980bc4947f890b81d3b4dd1264c99e6f9bf6 /src/arch/instruction.c
parent124c8410dbfcad59d66b850c50c96ec73a607ab7 (diff)
Removed dead code.
Diffstat (limited to 'src/arch/instruction.c')
-rw-r--r--src/arch/instruction.c48
1 files changed, 0 insertions, 48 deletions
diff --git a/src/arch/instruction.c b/src/arch/instruction.c
index 7106631..5f35db4 100644
--- a/src/arch/instruction.c
+++ b/src/arch/instruction.c
@@ -983,25 +983,6 @@ GBufferLine *g_arch_instruction_print(const GArchInstruction *instr, GCodeBuffer
/******************************************************************************
* *
-* Paramètres : list = liste d'instructions à consulter. *
-* *
-* Description : Renvoie vers la dernière instruction d'une série. *
-* *
-* Retour : Dernière instruction trouvée (ou NULL ?!). *
-* *
-* Remarques : - *
-* *
-******************************************************************************/
-
-GArchInstruction *g_arch_instruction_find_last(const GArchInstruction *list)
-{
- return ainstr_list_last(list);
-
-}
-
-
-/******************************************************************************
-* *
* Paramètres : list = liste d'instructions à compléter, ou NULL. *
* instr = nouvelle instruction à intégrer à l'ensemble. *
* *
@@ -1098,35 +1079,6 @@ GArchInstruction *g_arch_instruction_get_next_iter(const GArchInstruction *list,
/******************************************************************************
* *
-* Paramètres : list = liste de lignes à parcourir. *
-* range = emplacement mémoire à comparer. *
-* *
-* Description : Recherche une instruction d'après son emplacement mémoire. *
-* *
-* Retour : Instruction trouvée à l'adresse donnée, NULL si aucune. *
-* *
-* Remarques : - *
-* *
-******************************************************************************/
-
-GArchInstruction *g_arch_instruction_find_by_range(GArchInstruction *list, const mrange_t *range)
-{
- GArchInstruction *result; /* Trouvaille à retourner */
-
- ainstr_list_for_each(result, list)
- {
- if (cmp_mrange(&result->range, range) == 0)
- break;
-
- }
-
- return result;
-
-}
-
-
-/******************************************************************************
-* *
* Paramètres : list = liste de lignes à parcourir. *
* addr = position en mémoire ou physique à chercher. *
* strict = définit la considération à porter à l'adresse. *