* src/native/localref.c: Added new file.
authormichi <none@none>
Sun, 12 Aug 2007 00:02:48 +0000 (00:02 +0000)
committermichi <none@none>
Sun, 12 Aug 2007 00:02:48 +0000 (00:02 +0000)
commit33fa710e0d31afbeb2fc69dfae69852ce6473297
tree551c62295e1c56a88e1d0c33e3e73853ad21aa77
parentb118fbde6e6b984c5c530a8ba0489d5cdd8d8b9b
* src/native/localref.c: Added new file.
* src/native/localref.h: Likewise.

* src/native/Makefile.am: Added above two files.

* src/vm/jit/codegen-common.c (codegen_start_native_call)
(codegen_finish_native_call): Use separate function to deal with localrefs.

* src/native/jni.h: Moved localref stuff to own file.
* src/native/jni.c: Likewise.
(JNI_CALL_VIRTUAL_METHOD): Added new macro.
(JNI_CALL_NONVIRTUAL_METHOD): Likewise.
(JNI_GET_FIELD): Likewise.
(JNI_SET_FIELD): Likewise.
(JNI_CALL_STATIC_METHOD): Likewise.
(JNI_GET_STATIC_FIELD): Likewise.
(JNI_SET_STATIC_FIELD): Likewise.
(JNI_NEW_ARRAY): Likewise.
(JNI_GET_ARRAY_ELEMENTS): Likewise.
(JNI_RELEASE_ARRAY_ELEMENTS): Likewise.
(JNI_GET_ARRAY_REGION): Likewise.
(JNI_SET_ARRAY_REGION): Likewise.

* src/threads/native/threads.h,
* src/vm/jit/arm/codegen.c,
* src/vm/jit/powerpc/codegen.c,
* src/vm/jit/sparc64/codegen.c,
* src/vm/jit/alpha/codegen.c,
* src/vm/jit/s390/codegen.c,
* src/vm/jit/mips/codegen.c,
* src/vm/jit/m68k/codegen.c,
* src/vm/jit/powerpc64/codegen.c,
* src/vm/jit/i386/codegen.c,
* src/vm/jit/x86_64/codegen.c: Added missing include.
18 files changed:
src/native/Makefile.am
src/native/jni.c
src/native/jni.h
src/native/localref.c [new file with mode: 0644]
src/native/localref.h [new file with mode: 0644]
src/threads/native/threads.h
src/vm/jit/alpha/codegen.c
src/vm/jit/arm/codegen.c
src/vm/jit/codegen-common.c
src/vm/jit/i386/codegen.c
src/vm/jit/m68k/codegen.c
src/vm/jit/mips/codegen.c
src/vm/jit/powerpc/codegen.c
src/vm/jit/powerpc64/codegen.c
src/vm/jit/s390/codegen.c
src/vm/jit/sparc64/codegen.c
src/vm/jit/x86_64/codegen.c
src/vm/vm.c