From: Aleksey Demakov Date: Tue, 25 Mar 2008 05:13:35 +0000 (+0000) Subject: fix return code of interpreter version of jit_function_apply_vararg X-Git-Tag: before.move.to.git~97 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=17b69141fdc4c16922c2f2e2d8ef334379908700;p=francis%2Flibjit.git fix return code of interpreter version of jit_function_apply_vararg --- diff --git a/ChangeLog b/ChangeLog index 04241bb..bea6b9e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-03-25 Aleksey Demakov + + * jit/jit-interp.c (jit_function_apply_vararg): fix return code if + exception is thrown. + 2008-03-24 Klaus Treichel * jit/jit-function.c (cleanup_on_restart): Reset the epilog_fixup. diff --git a/jit/jit-interp.c b/jit/jit-interp.c index 629f545..70be8e4 100644 --- a/jit/jit-interp.c +++ b/jit/jit-interp.c @@ -4989,7 +4989,7 @@ int jit_function_apply_vararg if(setjmp(jbuf.buf)) { _jit_unwind_pop_setjmp(); - return 1; + return 0; } /* Initialize the backtrace information */