From 17b69141fdc4c16922c2f2e2d8ef334379908700 Mon Sep 17 00:00:00 2001 From: Aleksey Demakov Date: Tue, 25 Mar 2008 05:13:35 +0000 Subject: [PATCH] fix return code of interpreter version of jit_function_apply_vararg --- ChangeLog | 5 +++++ jit/jit-interp.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 */ -- 2.47.3