diff options
Diffstat (limited to 'src/decomp/expr/assign.c')
-rw-r--r-- | src/decomp/expr/assign.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/decomp/expr/assign.c b/src/decomp/expr/assign.c index 26d31f6..939407d 100644 --- a/src/decomp/expr/assign.c +++ b/src/decomp/expr/assign.c @@ -158,10 +158,12 @@ static bool g_assign_expression_visit(GAssignExpression *expr, dec_instr_visitor { bool result; /* Bilan à retourner */ - result = g_dec_instruction_visit(G_DEC_INSTRUCTION(expr->dest), callback, flags, data); + result = _g_dec_instruction_visit(G_DEC_INSTRUCTION(expr->dest), G_DEC_INSTRUCTION(expr), + callback, flags, data); if (result) - result = g_dec_instruction_visit(G_DEC_INSTRUCTION(expr->src), callback, flags, data); + result = _g_dec_instruction_visit(G_DEC_INSTRUCTION(expr->src), G_DEC_INSTRUCTION(expr), + callback, flags, data); return result; @@ -259,7 +261,7 @@ static GBufferLine *g_assign_expression_print(const GAssignExpression *expr, GCo * * ******************************************************************************/ -GDecInstruction *g_assign_expression_get_dest(const GAssignExpression *assign) +GDecExpression *g_assign_expression_get_dest(const GAssignExpression *assign) { return assign->dest; @@ -278,7 +280,7 @@ GDecInstruction *g_assign_expression_get_dest(const GAssignExpression *assign) * * ******************************************************************************/ -GDecInstruction *g_assign_expression_get_src(const GAssignExpression *assign) +GDecExpression *g_assign_expression_get_src(const GAssignExpression *assign) { return assign->src; |