INSN_RET should be considered a branch because it jumps to different basic block. It is used in LIR for athrow.
Signed-off-by: Tomek Grabiec <tgrab...@gmail.com> --- arch/x86/include/arch/instruction.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/x86/include/arch/instruction.h b/arch/x86/include/arch/instruction.h index b9d71b9..962dc0a 100644 --- a/arch/x86/include/arch/instruction.h +++ b/arch/x86/include/arch/instruction.h @@ -321,6 +321,7 @@ static inline bool insn_is_branch(struct insn *insn) case INSN_JMP_MEMBASE: case INSN_JMP_MEMINDEX: case INSN_JNE_BRANCH: + case INSN_RET: return true; default: return false; -- 1.6.3.3 ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Jatovm-devel mailing list Jatovm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jatovm-devel