summaryrefslogtreecommitdiff
path: root/src/decomp/instr
diff options
context:
space:
mode:
Diffstat (limited to 'src/decomp/instr')
-rw-r--r--src/decomp/instr/ite.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/decomp/instr/ite.c b/src/decomp/instr/ite.c
index 1abf61c..d78bb31 100644
--- a/src/decomp/instr/ite.c
+++ b/src/decomp/instr/ite.c
@@ -178,13 +178,16 @@ static bool g_ite_instruction_visit(GITEInstruction *instr, dec_instr_visitor_cb
{
bool result; /* Bilan à retourner */
- result = g_dec_instruction_visit(G_DEC_INSTRUCTION(instr->cond), callback, flags, data);
+ result = _g_dec_instruction_visit(G_DEC_INSTRUCTION(instr->cond), G_DEC_INSTRUCTION(instr),
+ callback, flags, data);
if (result)
- result = g_dec_instruction_visit(instr->true_branch, callback, flags, data);
+ result = _g_dec_instruction_visit(instr->true_branch, G_DEC_INSTRUCTION(instr),
+ callback, flags, data);
if (result && instr->false_branch != NULL)
- result = g_dec_instruction_visit(instr->false_branch, callback, flags, data);
+ result = _g_dec_instruction_visit(instr->false_branch, G_DEC_INSTRUCTION(instr),
+ callback, flags, data);
return result;