This prevents a few problems from surfacing on x86-64 until EXPR_LOOKUPSWITCH_BSEARCH is properly implemented.
Signed-off-by: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> --- arch/x86/insn-selector.brg | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/x86/insn-selector.brg b/arch/x86/insn-selector.brg index f04d589..8a5a652 100644 --- a/arch/x86/insn-selector.brg +++ b/arch/x86/insn-selector.brg @@ -2579,6 +2579,7 @@ stmt: STMT_LOOKUPSWITCH_JUMP(reg) offsetof(struct lookupswitch_pair, target))); } +%ifdef CONFIG_X86_32 reg: EXPR_LOOKUPSWITCH_BSEARCH(reg) { struct expression *expr; @@ -2602,6 +2603,7 @@ reg: EXPR_LOOKUPSWITCH_BSEARCH(reg) state->reg1 = get_fixed_var(s->b_parent, MACH_REG_EAX); select_insn(s, tree, rel_insn(INSN_CALL_REL, (unsigned long) &bsearch)); } +%endif stmt: STMT_MONITOR_ENTER(reg) { -- 1.6.0.6 ------------------------------------------------------------------------------ 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