summaryrefslogtreecommitdiff
path: root/src/arch/dalvik
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2012-11-06 19:20:13 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2012-11-06 19:20:13 (GMT)
commitba5c517970f725903ae8b196b28f1a2eb7705536 (patch)
tree53bcf572175335e48852bb3dbd66063b358a2377 /src/arch/dalvik
parentc35d5d4ce62b812ec0aa4a5ebbacb84cd0901d53 (diff)
Fixed graphs by adding some missing Dalvik return opcodes.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@279 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/arch/dalvik')
-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);
}