* src/vm/jit/linenumbertable.c: New file.
[cacao.git] / src / vm / jit / sparc64 / asmpart.S
index 9dd83903d501a61f9b49ef61f89ff68970a57435..3f5a74b1f25f7a7c747c321ac38560060d9d0dd9 100644 (file)
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
    02110-1301, USA.
 
-   $Id: asmpart.S 4749 2006-04-11 10:20:18Z twisti $
-
 */
 
 
 #include "config.h"
 
-#include "vm/jit/sparc64/md-abi.h"
-#include "vm/jit/sparc64/offsets.h"
 #include "md-asm.h"
 
+#include "vm/jit/sparc64/md-abi.h"
+
+
        .register %g2,#scratch                         /* define as scratch       */
        .register %g3,#scratch                    /* XXX  reserve for application */
        .text
@@ -56,9 +55,6 @@
 
        .global asm_abstractmethoderror
        
-       .global asm_criticalsections
-       .global asm_getclassvalues_atomic
-       
        .global asm_store_fp_state_reg
        .global asm_load_fp_state_reg
 
 
        .align 8        /* v9: All data types are aligned to their size */
 
-       .xword 0                         /* catch type all */
-       .xword 0                         /* handler pc */
-       .xword 0                         /* end pc */
-       .xword 0                         /* start pc */
-       .word  1                         /* extable size */
-       .word  0                         /* ALIGNMENT PADDING */
-       .xword 0                         /* line number table start */
-       .xword 0                         /* line number table size */
-       .word  0                         /* ALIGNMENT PADDING */
        .word  0                         /* fltsave */
        .word  1                         /* intsave */
        .word  0                         /* isleaf */
-       .word  0                         /* IsSync */
        .word  0                         /* frame size */
        .xword 0                         /* method pointer (pointer to name)*/ 
 
@@ -442,34 +428,6 @@ asm_load_fp_state_reg:
        nop
 
 
-
-
-asm_getclassvalues_atomic:
-_crit_restart:
-_crit_begin:
-/* not doing a window save, using the global temporary registers */
-       ldsw    [offbaseval+%o0],itmp1
-       ldsw    [offdiffval+%o0],itmp2
-       ldsw    [offbaseval+%o1],itmp3
-_crit_end:
-       stw     itmp1,[offcast_super_baseval+%o2]
-       stw     itmp2,[offcast_super_diffval+%o2]
-       stw     itmp3,[offcast_sub_baseval+%o2]
-       jmpl    ra_caller+8,zero  /* caller's ra, b/c no window save */
-       nop
-
-
-    .data
-
-asm_criticalsections:
-#if defined(ENABLE_THREADS)
-    .xword   _crit_begin
-    .xword   _crit_end
-    .xword   _crit_restart
-#endif
-    .xword   0
-    
-
 /* disable exec-stacks ********************************************************/
 
 #if defined(__linux__) && defined(__ELF__)