* src/vm/jit/alpha/asmpart.S (asm_vm_call_method): Removed !NDEBUG as
authortwisti <none@none>
Wed, 5 Apr 2006 10:02:14 +0000 (10:02 +0000)
committertwisti <none@none>
Wed, 5 Apr 2006 10:02:14 +0000 (10:02 +0000)
builtin_throw_exception actually posts the thrown exception to the VM
system.
* src/vm/jit/powerpc/asmpart.S: Likewise.
* src/vm/jit/mips/asmpart.S: Likewise.
* src/vm/jit/x86_64/asmpart.S: Likewise.

src/vm/jit/alpha/asmpart.S
src/vm/jit/mips/asmpart.S
src/vm/jit/powerpc/asmpart.S
src/vm/jit/x86_64/asmpart.S

index 95ef3a1bbbfd47704a8b3fd00ca981fded950028..e08037a898f57faacc3c0803bc8a1e7a84363a6b 100644 (file)
@@ -31,7 +31,7 @@
             Christian Thalinger
                Edwin Steiner
 
-   $Id: asmpart.S 4713 2006-03-30 12:01:50Z twisti $
+   $Id: asmpart.S 4735 2006-04-05 10:02:14Z twisti $
 
 */
 
@@ -198,10 +198,8 @@ calljava_ret2:
 asm_vm_call_method_exception_handler:
        s8addq  s6,sp,sp
        ldq     gp,1*8(sp)                /* restore global pointer               */
-#if !defined(NDEBUG)
        mov     itmp1,a0
        jsr     ra,builtin_throw_exception
-#endif
        ldq     ra,0*8(sp)                /* restore return address               */
        ldq     s6,3*8(sp)
        lda     sp,5*8(sp)                /* free stack space                     */
index 149fa43f4782116e3c4bc243cfaf6fe950cf4a60..062fd643a9828c1c9fbf4066c31caae3136b3ef7 100644 (file)
@@ -29,7 +29,7 @@
    Changes: Christian Thalinger
             Edwin Steiner
 
-   $Id: asmpart.S 4713 2006-03-30 12:01:50Z twisti $
+   $Id: asmpart.S 4735 2006-04-05 10:02:14Z twisti $
 
 */
 
@@ -242,10 +242,8 @@ calljava_return2:
 asm_vm_call_method_exception_handler:
        asll    s7,s7,3
        aaddu   sp,s7,sp
-#if !defined(NDEBUG)
        move    a0,itmp1                  
        jal     builtin_throw_exception
-#endif
        move    v0,zero                   /* clear return value for exception     */
        b       calljava_return2
 
index 5c74cdc027eefd675ccab4dc03930ef3022eb5c1..14bf6e2c2cb3e7a7f945ebf4e4df6a85268a7340 100644 (file)
@@ -31,7 +31,7 @@
    Changes: Christian Thalinger
             Edwin Steiner
 
-   $Id: asmpart.S 4715 2006-03-31 07:50:19Z twisti $
+   $Id: asmpart.S 4735 2006-04-05 10:02:14Z twisti $
 
 */
 
@@ -51,7 +51,7 @@
        .align 2
 
 
-/* exported functions and variables *******************************************/
+/* export functions ***********************************************************/
 
        .globl asm_vm_call_method
        .globl asm_vm_call_method_int
@@ -277,10 +277,8 @@ L_asm_vm_call_method_return:
        blr
 
 asm_vm_call_method_exception_handler:
-#if !defined(NDEBUG)
        mr      r3,itmp1
        bl      builtin_throw_exception
-#endif
        li      v0,0                      /* return NULL                          */
        b       L_asm_vm_call_method_return
 
index 80e3056c090b86f83423d6b6ce2b42c6f57318b5..2297e8b5f20e4c8ef98f9b4dad996ec46668ba70 100644 (file)
@@ -30,7 +30,7 @@
 
    Changes: Edwin Steiner
 
-   $Id: asmpart.S 4713 2006-03-30 12:01:50Z twisti $
+   $Id: asmpart.S 4735 2006-04-05 10:02:14Z twisti $
 
 */
 
@@ -218,10 +218,8 @@ L_asm_vm_call_method_return:
        ret
                
 asm_vm_call_method_exception_handler:
-#if !defined(NDEBUG)
        mov     xptr,a0                     /* pass exception pointer             */
        call    builtin_throw_exception@PLT
-#endif
        xor     v0,v0                       /* return NULL                        */
        jmp     L_asm_vm_call_method_return