summaryrefslogtreecommitdiff
path: root/plugins/arm/v7/operands/maccess.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/arm/v7/operands/maccess.c')
-rw-r--r--plugins/arm/v7/operands/maccess.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/plugins/arm/v7/operands/maccess.c b/plugins/arm/v7/operands/maccess.c
index f5307f7..392bae0 100644
--- a/plugins/arm/v7/operands/maccess.c
+++ b/plugins/arm/v7/operands/maccess.c
@@ -67,7 +67,7 @@ static void g_armv7_maccess_operand_finalize(GArmV7MAccessOperand *);
static int g_armv7_maccess_operand_compare(const GArmV7MAccessOperand *, const GArmV7MAccessOperand *);
/* Traduit un opérande en version humainement lisible. */
-static void g_armv7_maccess_operand_print(const GArmV7MAccessOperand *, GBufferLine *, AsmSyntax);
+static void g_armv7_maccess_operand_print(const GArmV7MAccessOperand *, GBufferLine *);
@@ -228,7 +228,6 @@ static int g_armv7_maccess_operand_compare(const GArmV7MAccessOperand *a, const
* *
* Paramètres : operand = opérande à traiter. *
* line = ligne tampon où imprimer l'opérande donné. *
-* syntax = type de représentation demandée. *
* *
* Description : Traduit un opérande en version humainement lisible. *
* *
@@ -238,11 +237,11 @@ static int g_armv7_maccess_operand_compare(const GArmV7MAccessOperand *a, const
* *
******************************************************************************/
-static void g_armv7_maccess_operand_print(const GArmV7MAccessOperand *operand, GBufferLine *line, AsmSyntax syntax)
+static void g_armv7_maccess_operand_print(const GArmV7MAccessOperand *operand, GBufferLine *line)
{
g_buffer_line_append_text(line, BLC_ASSEMBLY, "[", 1, RTT_HOOK, NULL);
- g_arch_operand_print(operand->base, line, syntax);
+ g_arch_operand_print(operand->base, line);
if (operand->post_indexed)
g_buffer_line_append_text(line, BLC_ASSEMBLY, "]", 1, RTT_HOOK, NULL);
@@ -252,7 +251,7 @@ static void g_armv7_maccess_operand_print(const GArmV7MAccessOperand *operand, G
g_buffer_line_append_text(line, BLC_ASSEMBLY, ",", 1, RTT_PUNCT, NULL);
g_buffer_line_append_text(line, BLC_ASSEMBLY, " ", 1, RTT_RAW, NULL);
- g_arch_operand_print(operand->offset, line, syntax);
+ g_arch_operand_print(operand->offset, line);
}
@@ -261,7 +260,7 @@ static void g_armv7_maccess_operand_print(const GArmV7MAccessOperand *operand, G
g_buffer_line_append_text(line, BLC_ASSEMBLY, ",", 1, RTT_PUNCT, NULL);
g_buffer_line_append_text(line, BLC_ASSEMBLY, " ", 1, RTT_RAW, NULL);
- g_arch_operand_print(operand->shift, line, syntax);
+ g_arch_operand_print(operand->shift, line);
}