* 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: