]> git.unchartedbackwaters.co.uk Git - francis/libjit.git/commitdiff
Return 0 when a sub-function throws an exception, not 1.
authorRhys Weatherley <rweather@southern-storm.com.au>
Tue, 2 Nov 2004 06:22:07 +0000 (06:22 +0000)
committerRhys Weatherley <rweather@southern-storm.com.au>
Tue, 2 Nov 2004 06:22:07 +0000 (06:22 +0000)
ChangeLog
jit/jit-function.c

index b56df3e2c3c7b4462f6bc47c8215320142a5e8d2..722190037e7f986b18470e94ed3cbc72fcd4fc16 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,9 @@
        and fixup lists if we need to restart on a new cache page (minor
        alterations by Rhys).
 
+       * jit/jit-function.c (jit_function_apply_vararg): return 0 when a
+       sub-function throws an exception, not 1.
+
 2004-10-31  Rhys Weatherley  <rweather@southern-storm.com.au>
 
        * jit/jit-rules-x86.sel: handle the special case of constant
index 8d19d26bbddaa2475067ecb76d92b2775dbdd181..54d6ad67f42caf1c5b807e503621a207c973c6e6 100644 (file)
@@ -1195,7 +1195,7 @@ int jit_function_apply_vararg
        if(setjmp(jbuf.buf))
        {
                _jit_unwind_pop_setjmp();
-               return 1;
+               return 0;
        }
 
        /* Create a backtrace entry that blocks exceptions from