Also set xcheckarefs back to null.
[cacao.git] / asmpart.h
index 29976f054da33c532a4b7eb3de0ed483288398f7..a8ff334c987701e0a1196daccb599792f5cde9b3 100644 (file)
--- a/asmpart.h
+++ b/asmpart.h
@@ -29,7 +29,7 @@
 
    Changes: Christian Thalinger
 
-   $Id: asmpart.h 975 2004-03-25 18:09:45Z twisti $
+   $Id: asmpart.h 1112 2004-05-31 15:47:20Z jowenn $
 
 */
 
@@ -39,6 +39,7 @@
 
 #include "global.h"
 #include "jni.h"
+#include "threads/thread.h"
 
 /* 
    determines if the byte support instruction set (21164a and higher)
@@ -71,9 +72,9 @@ void asm_call_jit_compiler();
 */
 java_objectheader *asm_calljavafunction(methodinfo *m, void *arg1, void *arg2,
                                         void *arg3, void *arg4);
-java_objectheader *asm_calljavafunction2(methodinfo *m, u4 count, u4 size , void *callblock);
-jdouble asm_calljavafunction2double(methodinfo *m, u4 count, u4 size , void *callblock);
-jlong asm_calljavafunction2long(methodinfo *m, u4 count, u4 size , void *callblock);
+java_objectheader *asm_calljavafunction2(methodinfo *m, u4 count, u4 size, void *callblock);
+jdouble asm_calljavafunction2double(methodinfo *m, u4 count, u4 size, void *callblock);
+jlong asm_calljavafunction2long(methodinfo *m, u4 count, u4 size, void *callblock);
 
 
 
@@ -83,11 +84,8 @@ void asm_handle_nat_exception();
 void asm_check_clinit();
 
 void asm_handle_builtin_exception(classinfo *);
-
-/* 
-   gets the class of the caller from the stack frame
-*/
-methodinfo *asm_getcallingmethod();
+void asm_throw_and_handle_exception();
+void asm_throw_and_handle_hardware_arithmetic_exception();
 
 java_objectarray* Java_java_lang_VMSecurityManager_getClassContext(JNIEnv *env, jclass clazz);
 stacktraceelement *asm_get_stackTrace();
@@ -99,7 +97,10 @@ void *asm_switchstackandcall(void *stack, void *func, void **stacktopsave, void
 void asm_builtin_trace();
 void asm_builtin_exittrace();
 
-int asm_xadd(int *, int);
+#if defined(USE_THREADS) && defined(NATIVE_THREADS)
+extern threadcritnode *asm_criticalsections;
+#endif
+void asm_getclassvalues_atomic(vftbl *super, vftbl *sub, castinfo *out);
 
 #endif /* _ASMPART_H */