This fixes EXPR_NULL_CHECK by choosing a suitable vm type depending on the architecture.
Signed-off-by: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> --- arch/x86/insn-selector.brg | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/x86/insn-selector.brg b/arch/x86/insn-selector.brg index 376ea0d..3220ba0 100644 --- a/arch/x86/insn-selector.brg +++ b/arch/x86/insn-selector.brg @@ -1293,7 +1293,7 @@ reg: EXPR_NULL_CHECK(EXPR_LOCAL) struct expression *expr; struct expression *local; - reg = get_var(s->b_parent, J_INT); + reg = get_var(s->b_parent, GPR_VM_TYPE); state->reg1 = reg; expr = to_expr(tree); -- 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