summaryrefslogtreecommitdiff
path: root/src/arch/instruction.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2017-03-03 20:27:36 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2017-03-03 20:27:36 (GMT)
commit9703198141480b1327a2037ca67f4da8546ab20f (patch)
tree5ee1dfbd968c6456b621a6f421727fa8a4f8fffc /src/arch/instruction.c
parent701b3b1a72d5b2697cbb37074e2a58580bcc1b4c (diff)
Limited the quantity of binary code shown for arrays.
Diffstat (limited to 'src/arch/instruction.c')
-rw-r--r--src/arch/instruction.c41
1 files changed, 0 insertions, 41 deletions
diff --git a/src/arch/instruction.c b/src/arch/instruction.c
index be049e1..7df72bf 100644
--- a/src/arch/instruction.c
+++ b/src/arch/instruction.c
@@ -145,8 +145,6 @@ static void g_arch_instruction_class_init(GArchInstructionClass *klass)
static void g_arch_instruction_init(GArchInstruction *instr)
{
- instr->max_displayed_len = VMPA_NO_PHYSICAL;
-
instr->from_count = 0;
instr->to_count = 0;
@@ -1006,45 +1004,6 @@ const char *g_arch_instruction_get_keyword(GArchInstruction *instr, AsmSyntax sy
}
-/******************************************************************************
-* *
-* Paramètres : instr = instruction d'assemblage à consulter. *
-* *
-* Description : Indique si elle existe la quantité maximale de code affiché. *
-* *
-* Retour : Quantité de code affichée au plus ou VMPA_NO_PHYSICAL. *
-* *
-* Remarques : - *
-* *
-******************************************************************************/
-
-phys_t g_arch_instruction_get_displayed_max_length(const GArchInstruction *instr)
-{
- return instr->max_displayed_len;
-
-}
-
-
-/******************************************************************************
-* *
-* Paramètres : instr = instruction d'assemblage à consulter. *
-* max = quantité affichée au plus ou VMPA_NO_PHYSICAL. *
-* *
-* Description : Définit la quantité maximale de code affiché. *
-* *
-* Retour : - *
-* *
-* Remarques : - *
-* *
-******************************************************************************/
-
-void g_arch_instruction_set_displayed_max_length(GArchInstruction *instr, phys_t max)
-{
- instr->max_displayed_len = max;
-
-}
-
-
/* ---------------------------------------------------------------------------------- */
/* OFFRE DE CAPACITES DE GENERATION */