diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2013-01-27 22:03:31 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2013-01-27 22:03:31 (GMT) |
commit | 5c7ea8e2137e4e5bb2887de0d1ffd8a0b277636e (patch) | |
tree | 86d788e395f009c773cccd4310d56477c55552b5 /src/decomp/instr | |
parent | 7f35f8d2f211fdf087252ede7665e9c81f35cdc7 (diff) |
Reduced the quantity of used variables in decompiled code.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@332 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/decomp/instr')
-rw-r--r-- | src/decomp/instr/ite.c | 9 |
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; |