-/*
- This function calls a Java-method (which possibly needs compilation)
- with up to 4 parameters. This function calls a Java-method (which
- possibly needs compilation) with up to 4 parameters.
-*/
-java_objectheader *asm_calljavafunction(methodinfo *m, void *arg1, void *arg2,
- void *arg3, void *arg4);
-
-s4 asm_calljavafunction_int(methodinfo *m, void *arg1, void *arg2,
- void *arg3, void *arg4);
-
-
-/*
- This function calls a Java-method (which possibly needs compilation)
- with up to 4 parameters. This function calls a Java-method (which
- possibly needs compilation) with up to 4 parameters.
- also supports a return value
-*/
-java_objectheader *asm_calljavafunction2(methodinfo *m, u4 count, u4 size,
- jni_callblock *callblock);
-
-s4 asm_calljavafunction2int(methodinfo *m, u4 count, u4 size,
- jni_callblock *callblock);
-
-s8 asm_calljavafunction2long(methodinfo *m, u4 count, u4 size,
- jni_callblock *callblock);
-
-float asm_calljavafunction2float(methodinfo *m, u4 count, u4 size,
- jni_callblock *callblock);
-
-double asm_calljavafunction2double(methodinfo *m, u4 count, u4 size,
- jni_callblock *callblock);
+int64_t asm_vm_call_method_long(void *pv, uint64_t *array, int32_t stackargs);
+float asm_vm_call_method_float(void *pv, uint64_t *array, int32_t stackargs);
+double asm_vm_call_method_double(void *pv, uint64_t *array, int32_t stackargs);