summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/arch/dalvik/instruction.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/arch/dalvik/instruction.c b/src/arch/dalvik/instruction.c
index d494fb4..416a699 100644
--- a/src/arch/dalvik/instruction.c
+++ b/src/arch/dalvik/instruction.c
@@ -514,7 +514,10 @@ static InstructionLinkType dalvik_get_instruction_link(const GDalvikInstruction
static bool dalvik_instruction_is_return(const GDalvikInstruction *instr)
{
- return (instr->type == DOP_RETURN_VOID);
+ return (instr->type == DOP_RETURN_VOID
+ || instr->type == DOP_RETURN
+ || instr->type == DOP_RETURN_WIDE
+ || instr->type == DOP_RETURN_OBJECT);
}