summaryrefslogtreecommitdiff
path: root/plugins/androhelpers
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2015-07-12 01:57:23 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2015-07-12 01:57:23 (GMT)
commitba1d7ae3ae3c82ab2c3d23a900c16baff6f8ca26 (patch)
tree04a1d3fb7a7e8c9d2dffd91576bcd0d051ae3750 /plugins/androhelpers
parent2be3bca7ff0f8ab40615fdbf72c149cd6439b0ac (diff)
Defined AIF_RETURN_POINT to replace the previous 'return' accessors.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@546 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'plugins/androhelpers')
-rw-r--r--plugins/androhelpers/switch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/androhelpers/switch.c b/plugins/androhelpers/switch.c
index 14a4562..f93c9e9 100644
--- a/plugins/androhelpers/switch.c
+++ b/plugins/androhelpers/switch.c
@@ -219,7 +219,7 @@ static void ensure_each_case_has_its_block(GArchInstruction *instr, GArchInstruc
if (prev != NULL
&& !g_arch_instruction_has_destinations(prev)
- && !g_arch_instruction_is_return(prev))
+ && !(g_arch_instruction_get_flags(prev) & AIF_RETURN_POINT))
{
g_arch_instruction_link_with(prev, instr, ILT_EXEC_FLOW, NULL);
}