Applied with the following fixes:
On Fri, 2009-04-24 at 21:29 +0200, Tomek Grabiec wrote:
> @@ -347,3 +350,8 @@ unsigned long nr_args(struct expression *args_list)
>
> return nr_args(left) + nr_args(right);
> }
> +
> +struct expression *exception_ref_expr()
Missing "void" as argument type. I'm adding "-Wstrict-prototypes" to
make GCC catches this.
> +{
> + return alloc_expression(EXPR_EXCEPTION_REF, J_REFERENCE);
> +}
You forgot to add "excetion_ref_expr()" in jit/expression.h:
penb...@penberg-laptop:~/src/jato$ make jit/bytecode-to-ir.o
CC jit/bytecode-to-ir.o
jit/bytecode-to-ir.c: In function ‘parse_bytecode_insn’:
jit/bytecode-to-ir.c:266: warning: implicit declaration of function
‘exception_ref_expr’
jit/bytecode-to-ir.c:266: warning: passing argument 2 of ‘stack_push’ makes
pointer from integer without a cast
> +++ b/regression/jvm/ExceptionsTest.java
> @@ -0,0 +1,32 @@
> +/*
> + * Copyright (C) 2009 Tomasz Grabiec
> + *
> + * This file is released under the GPL version 2. Please refer to the file
> + * LICENSE for details.
> + */
I didn't fix this because I wanted to double-check you didn't do this
intentionally. Jato is licensed under GPLv2 + "linking exception
clause". There are some (old) files that still use the GPLv2-only
license but they're wrong.
Care to send a patch to fix up the license banner?
Pekka
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Jatovm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jatovm-devel