cacao.git
16 years ago* src/vm/jit/alpha/asmpart.S (asm_vm_call_method): Rewritten for new
twisti [Thu, 12 Jul 2007 07:16:24 +0000 (07:16 +0000)]
* src/vm/jit/alpha/asmpart.S (asm_vm_call_method): Rewritten for new
argument passing.

* src/vm/jit/alpha/md-abi.c (md_param_alloc): Set pd->index.

* src/native/jni.c: Added __ALPHA__ ifdef.
* src/vm/vm.c: Likewise.
* src/vm/vm.h: Likewise.
* src/vm/jit/asmpart.h: Likewise.

16 years ago* src/vm/jit/x86_64/asmpart.S (asm_vm_call_method): Fixed stack
twisti [Wed, 11 Jul 2007 19:17:04 +0000 (19:17 +0000)]
* src/vm/jit/x86_64/asmpart.S (asm_vm_call_method): Fixed stack
alignment.

16 years ago* src/vm/jit/powerpc/codegen.c (codegen_emit): Fixed bug when taking
twisti [Wed, 11 Jul 2007 13:54:21 +0000 (13:54 +0000)]
* src/vm/jit/powerpc/codegen.c (codegen_emit): Fixed bug when taking
out double arguments.
(codegen_emit_stub_native): Use switch-case for saving and restoring
argument registers.

16 years ago* src/vm/jit/s390/codegen.c (codegen_emit): Extended maximal interface table offset...
pm [Wed, 11 Jul 2007 11:27:55 +0000 (11:27 +0000)]
* src/vm/jit/s390/codegen.c (codegen_emit): Extended maximal interface table offset from 12 bit to 16 bit in ICMD_INVOKEINTERFACE.
* src/vm/jit/s390/patcher.c (patcher_invokeinterface): Likewise.

16 years ago* src/vmcore/options.c (opt_TraceJavaCalls): Added.
twisti [Tue, 10 Jul 2007 13:44:37 +0000 (13:44 +0000)]
* src/vmcore/options.c (opt_TraceJavaCalls): Added.
(options_XX): Added opt_TraceJavaCalls.
(options_xx): Likewise.

* src/vmcore/options.h (opt_TraceJavaCalls): Added.

* src/vm/vm.c (XXusage): Removed -verbose:call.
(vm_create): Likewise.

16 years ago* src/vm/global.h (ALIGN_2): Use logical arithmetic.
twisti [Mon, 9 Jul 2007 14:37:49 +0000 (14:37 +0000)]
* src/vm/global.h (ALIGN_2): Use logical arithmetic.

16 years ago* src/vm/jit/x86_64/linux/md-os.c (md_signal_handler_sigsegv): Fixed
twisti [Mon, 9 Jul 2007 11:18:48 +0000 (11:18 +0000)]
* src/vm/jit/x86_64/linux/md-os.c (md_signal_handler_sigsegv): Fixed
typo.

16 years ago* src/vm/jit/powerpc/emit.c (stdint.h): Added
twisti [Sun, 8 Jul 2007 15:15:53 +0000 (15:15 +0000)]
* src/vm/jit/powerpc/emit.c (stdint.h): Added
(emit_verbosecall_enter): Reimplemented (this implementation is much
simpler and maybe should be extended to trace also arguments on the
stack). Darwin support is still missing.

* src/vm/jit/powerpc/darwin/md-abi.h (TRACE_ARGS_NUM): Changed to 4.
* src/vm/jit/powerpc/linux/md-abi.h (TRACE_ARGS_NUM): Likewise.

16 years ago* src/vm/jit/powerpc/linux/md-abi.c (vm/types.h): Removed.
twisti [Sun, 8 Jul 2007 13:42:06 +0000 (13:42 +0000)]
* src/vm/jit/powerpc/linux/md-abi.c (vm/types.h): Removed.
(stdint.h): Added and use stdint-types in this file.
(_ALIGN): Removed and use ALIGN_2 in this file.

16 years ago* src/vm/jit/sparc64/solaris/md-os.c: Implemented hardware exception handling.
ajordan [Sat, 7 Jul 2007 12:03:38 +0000 (12:03 +0000)]
* src/vm/jit/sparc64/solaris/md-os.c: Implemented hardware exception handling.

16 years ago* src/vm/jit/alpha/emit.c (emit_patcher_traps): Formerly known
michi [Thu, 5 Jul 2007 23:48:16 +0000 (23:48 +0000)]
* src/vm/jit/alpha/emit.c (emit_patcher_traps): Formerly known
as emit_patcher_stubs, now emits traps instead of stubs.

* src/vm/jit/alpha/codegen.c (codegen_emit, codegen_emit_stub_native): Call the
new patcher functions and adapted to above change.

* src/vm/jit/alpha/patcher.c: Adapted patchers to new signature for traps.
(patcher_wrapper): Removed, this is obsolete.

* src/vm/jit/alpha/asmpart.S (asm_patcher_wrapper): Removed, this is obsolete.

* src/vm/jit/alpha/linux/md-os.c (md_signal_handler_sigsegv): Only calls the
exception handling if exception object present.

* src/vm/jit/patcher-common.h [__ALPHA__]: Enabled new patcher stuff.

* src/vm/jit/patcher.h [__ALPHA__]: Defined away old patcher stuff.

16 years ago* src/vm/jit/arm/md.c (md_get_method_patch_address): Added the replacement
michi [Thu, 5 Jul 2007 21:34:47 +0000 (21:34 +0000)]
* src/vm/jit/arm/md.c (md_get_method_patch_address): Added the replacement
magic about mptr being NULL sometimes.

16 years ago* src/vm/jit/code.c (code_get_stack_frame_size): Removed.
michi [Thu, 5 Jul 2007 21:11:01 +0000 (21:11 +0000)]
* src/vm/jit/code.c (code_get_stack_frame_size): Removed.
* src/vm/jit/code.h: Likewise.

* src/vm/jit/replace.c: Use code->stackframesize instead of above function.

16 years ago* src/vm/jit/arm/codegen.c (codegen_emit): Replacement points are created.
michi [Thu, 5 Jul 2007 20:36:16 +0000 (20:36 +0000)]
* src/vm/jit/arm/codegen.c (codegen_emit): Replacement points are created.

16 years ago* src/vm/exceptions.c (exceptions_new_hardware_exception): Stackframeinfo block
michi [Thu, 5 Jul 2007 11:13:20 +0000 (11:13 +0000)]
* src/vm/exceptions.c (exceptions_new_hardware_exception):  Stackframeinfo block
is now on the stack of the signal handler function.

* src/vm/exceptions.h (exceptions_new_hardware_exception): Changed signature.

* src/vm/jit/arm/linux/md-os.c (md_signal_handler_sigsegv): Passes sfi to
exceptions function.

* src/vm/jit/powerpc/linux/md-os.c: Likewise.
* src/vm/jit/powerpc/darwin/md-os.c: Likewise.
* src/vm/jit/sparc64/linux/md-os.c: Likewise.
* src/vm/jit/sparc64/solaris/md-os.c: Likewise.
* src/vm/jit/alpha/linux/md-os.c: Likewise.
* src/vm/jit/s390/md.c: Likewise.
* src/vm/jit/mips/linux/md-os.c: Likewise.
* src/vm/jit/mips/irix/md-os.c: Likewise.
* src/vm/jit/m68k/linux/md-os.c: Likewise.
* src/vm/jit/powerpc64/linux/md-os.c: Likewise.
* src/vm/jit/i386/darwin/md-os.c: Likewise.
* src/vm/jit/i386/linux/md-os.c: Likewise.
* src/vm/jit/x86_64/linux/md-os.c: Likewise.

16 years ago* src/native/vm/sun_misc_Unsafe.c (methods): Added unpark.
twisti [Tue, 3 Jul 2007 16:05:27 +0000 (16:05 +0000)]
* src/native/vm/sun_misc_Unsafe.c (methods): Added unpark.
(unpark): New function, but unimplemented.

16 years ago* src/vm/jit/i386/darwin/Makefile.am (AM_CPPFLAGS): Added
twisti [Tue, 3 Jul 2007 15:43:14 +0000 (15:43 +0000)]
* src/vm/jit/i386/darwin/Makefile.am (AM_CPPFLAGS): Added
-I$(top_builddir)/src.

16 years ago* src/vm/exceptions.c (exceptions_init) [!(__ARM__ && __LINUX__)]:
twisti [Mon, 2 Jul 2007 14:07:24 +0000 (14:07 +0000)]
* src/vm/exceptions.c (exceptions_init) [!(__ARM__ && __LINUX__)]:
Don't mmap page 0x0 on arm-linux.

16 years ago* src/vmcore/options.c (options_xx): Fixed warnings.
twisti [Sun, 1 Jul 2007 17:49:25 +0000 (17:49 +0000)]
* src/vmcore/options.c (options_xx): Fixed warnings.

16 years ago* src/native/vm/sun/jvm.c (JVM_Available): Fixed return value (seems
twisti [Sat, 30 Jun 2007 17:40:09 +0000 (17:40 +0000)]
* src/native/vm/sun/jvm.c (JVM_Available): Fixed return value (seems
it's a boolean value, 1 is OK, 0 is error).

16 years ago* src/native/vm/reflect.c: Added Id keyword.
twisti [Sat, 30 Jun 2007 14:14:52 +0000 (14:14 +0000)]
* src/native/vm/reflect.c: Added Id keyword.
* src/native/vm/reflect.h: Likewise.

16 years ago* src/native/vm/reflect.c: Fixed includes.
twisti [Sat, 30 Jun 2007 14:13:58 +0000 (14:13 +0000)]
* src/native/vm/reflect.c: Fixed includes.

16 years ago* src/native/jni.c [ENABLE_JAVASE] (native/vm/reflect.h): Added.
twisti [Sat, 30 Jun 2007 14:03:18 +0000 (14:03 +0000)]
* src/native/jni.c [ENABLE_JAVASE] (native/vm/reflect.h): Added.
(_Jv_JNI_ToReflectedMethod): Implemented.

* src/native/vm/java_lang_Class.c [ENABLE_JAVASE]
(native/vm/reflect.h): Added.
(getDeclaredFields): Use reflect_field_new.
(getDeclaredMethods): Use reflect_method_new.
(getDeclaredConstructors): Use reflect_constructor_new.
(getEnclosingConstructor): Use reflect_constructor_new.
(getEnclosingMethod): Use reflect_method_new.

* src/native/vm/sun/jvm.c (jio_vsnprintf): Added count check.
(jio_snprintf): Implemented.
(JVM_IsInterface): Use class_is_interface.
(JVM_IsArrayClass): Use class_is_array.
(JVM_InvokeMethod): Disabled debug output.

* src/native/vm/reflect.c: New file.
* src/native/vm/reflect.h: Likewise.

* src/native/vm/Makefile.am [ENABLE_JAVASE] (REFLECT_SOURCES): Added.
(libnativevm_la_SOURCES): Added REFLECT_SOURCES.

16 years ago* src/vmcore/class.c (class_is_array): New function.
twisti [Sat, 30 Jun 2007 12:33:50 +0000 (12:33 +0000)]
* src/vmcore/class.c (class_is_array): New function.
(class_is_interface): Likewise.
* src/vmcore/class.h: Likewise.

* src/native/vm/java_lang_Class.c (stdint.h): Added.
(isInterface): Made JNI function, use class_is_interface.
(isArray): Made JNI function, use class_is_array.
* src/native/vm/java_lang_Class.h: Likewise.

* src/native/vm/cldc1.1/java_lang_Class.c (methods): Register common
methods for isInterface and isArray.
(isInterface): Removed.
(isArray): Likewise.

* src/native/vm/gnu/java_lang_VMClass.c (isInterface): Changed to JNI
call.
(isArray): Likewise.

16 years ago* src/mm/nogc.c (vm/vm.h): Added.
twisti [Sat, 30 Jun 2007 12:20:48 +0000 (12:20 +0000)]
* src/mm/nogc.c (vm/vm.h): Added.

16 years ago* src/native/native.h (hashtable_library_name_entry): Moved up, build
twisti [Fri, 29 Jun 2007 20:27:41 +0000 (20:27 +0000)]
* src/native/native.h (hashtable_library_name_entry): Moved up, build
fix.

16 years ago* src/native/native.c: Removed wrong comment.
twisti [Fri, 29 Jun 2007 19:45:17 +0000 (19:45 +0000)]
* src/native/native.c: Removed wrong comment.

* src/native/native.h [ENABLE_LTDL && HAVE_LTDL_H] (ltdl.h): Added
#ifdef.
[ENABLE_LTDL] (hashtable_library_loader_entry): Likewise.
[ENABLE_LTDL] (hashtable_library_name_entry): Likewise.
[ENABLE_LTDL] (native_library_open, native_library_add)
(native_library_find): Likewise.

16 years ago* src/native/vm/java_lang_Runtime.c [ENABLE_LTDL && HAVE_LTDL_H]
twisti [Fri, 29 Jun 2007 19:02:08 +0000 (19:02 +0000)]
* src/native/vm/java_lang_Runtime.c [ENABLE_LTDL && HAVE_LTDL_H]
(ltdl.h): Added #ifdef.
(loadLibrary) [ENABLE_LTDL]: Likewise.

16 years ago* src/native/native.c (native_library_find): Typo.
twisti [Fri, 29 Jun 2007 18:56:08 +0000 (18:56 +0000)]
* src/native/native.c (native_library_find): Typo.

16 years ago* configure.ac (AC_CHECK_HEADERS): Added netdb.h, ucontext.h.
twisti [Fri, 29 Jun 2007 18:53:55 +0000 (18:53 +0000)]
* configure.ac (AC_CHECK_HEADERS): Added netdb.h, ucontext.h.
(AC_CHECK_FUNCS): Added gethostbyname, htons, malloc, recv, send.
(AC_CHECK_ENABLE_ZLIB): Moved code to function.
(AC_CHECK_ENABLE_LTDL): Likewise.

* m4/zlib.m4: New file.
* m4/ltdl.m4: Likewise.

* src/native/native.c [ENABLE_LTDL && HAVE_LTDL_H] (ltdl.h): Added
#ifdef.
[ENABLE_LTDL] (hashtable_library): Likewise.
(native_init) [ENABLE_LTDL]: Likewise.
[ENABLE_LTDL] (native_library_open): Likewise.
[ENABLE_LTDL] (native_library_add): Likewise.
[ENABLE_LTLD] (native_library_find): Likewise.

16 years ago* src/native/vm/sun/jvm.c: Added copyright header.
twisti [Thu, 28 Jun 2007 13:40:37 +0000 (13:40 +0000)]
* src/native/vm/sun/jvm.c: Added copyright header.

16 years ago* src/vm/global.h (ACC_CLASS_REFERENCE_MASK): Added.
twisti [Thu, 28 Jun 2007 10:30:08 +0000 (10:30 +0000)]
* src/vm/global.h (ACC_CLASS_REFERENCE_MASK): Added.
(ACC_CLASS_SOFT_REFERENCE): Renamed to ACC_CLASS_REFERENCE_SOFT.
(ACC_CLASS_WEAK_REFERENCE): Renamed to ACC_CLASS_REFERENCE_WEAK.
(ACC_CLASS_PHANTOM_REFERENCE): Renamed to ACC_CLASS_REFERENCE_PHANTOM.

* src/vmcore/class.c (class_create_classinfo): Flag soft/weak/phantom
reference classes.

* src/vmcore/linker.c (link_class_intern): Inherit the reference
flags.

16 years ago* src/vm/jit/arm/emit.c (emit_patcher_traps): Formerly known
michi [Thu, 28 Jun 2007 01:52:19 +0000 (01:52 +0000)]
* src/vm/jit/arm/emit.c (emit_patcher_traps): Formerly known
as emit_patcher_stubs, now emits traps instead of stubs.

* src/vm/jit/arm/codegen.c (codegen_emit, codegen_emit_stub_native): Call the
new patcher functions and adapted to above change.

* src/vm/jit/arm/patcher.c: Adapted patchers to new signature for traps.
(patcher_get_putfield): Fixed severe bug for long values.
(patcher_wrapper): Removed, this is obsolete.

* src/vm/jit/arm/codegen.h (M_TRAP): Added.

* src/vm/jit/arm/asmpart.S (asm_patcher_wrapper): Removed, this is obsolete.

* src/vm/jit/arm/linux/md-os.c (md_signal_handler_sigill): Only calls the
exception handling if exception object present.

* src/vm/jit/patcher-common.c: Fixed includes.

* src/vm/jit/patcher-common.h [__ARM__]: Added prototypes for patcher functions.
(patchref_t): Added datap.

* src/vm/jit/patcher.h [__ARM__]: Defined away old patcher stuff.

* src/vm/jit/codegen-common.c (codegen_finish): Resolves pr->datap as well.

16 years ago* src/vm/jit/verify/typecheck-typeinferer.c: Removed patcher.h include.
michi [Thu, 28 Jun 2007 00:31:31 +0000 (00:31 +0000)]
* src/vm/jit/verify/typecheck-typeinferer.c: Removed patcher.h include.
* src/vm/jit/verify/typecheck.c: Likewise.
* src/vm/jit/parse.c: Likewise.
* src/vm/builtin.c: Likewise.

16 years ago* src/vm/jit/sparc64/md-abi.c (md_param_alloc): Added absolute offsets for
ajordan [Thu, 28 Jun 2007 00:01:34 +0000 (00:01 +0000)]
* src/vm/jit/sparc64/md-abi.c (md_param_alloc): Added absolute offsets for
native arguments (reguse * 8).

* src/vm/jit/sparc64/codegen.c (codegen_emit_stub_native): Adapted to
change above.

16 years ago* src/vm/vm.c: Fixed messed up ifdefs introduced with M68K.
michi [Wed, 27 Jun 2007 22:12:32 +0000 (22:12 +0000)]
* src/vm/vm.c: Fixed messed up ifdefs introduced with M68K.
* src/vm/vm.h: Likewise.

16 years ago* configure.ac: Check for librt should only be done on Solaris.
ajordan [Wed, 27 Jun 2007 22:07:28 +0000 (22:07 +0000)]
* configure.ac: Check for librt should only be done on Solaris.

16 years ago* src/vm/builtin.c (builtin_f2l): Added for DISABLE_GC.
ajordan [Wed, 27 Jun 2007 21:53:44 +0000 (21:53 +0000)]
* src/vm/builtin.c (builtin_f2l): Added for DISABLE_GC.
(builtin_d2l): Likewise.

* src/native/jni.c (_Jv_jni_invokeNative): Added SPARC to defines, corrected
bitwise & for ARM.

16 years ago* configure.ac: Added librt for SPARC/Solaris.
ajordan [Wed, 27 Jun 2007 20:56:57 +0000 (20:56 +0000)]
* configure.ac: Added librt for SPARC/Solaris.

16 years ago* src/vm/jit/sparc64/md-abi.h: Removed faulty register offset
ajordan [Wed, 27 Jun 2007 20:56:03 +0000 (20:56 +0000)]
* src/vm/jit/sparc64/md-abi.h: Removed faulty register offset
multiplication from REG_WINDOW_TRANSPOSE.

* src/vm/jit/sparc64/asmpart.S: fixed offsets.h include.

* src/vm/jit/sparc64/solaris/macro_rename.h: Added include,
which renames the REG_SP defined from Solaris sys headers to
REG_SP_SOLARIS and defines mine.
* src/vm/jit/sparc64/emit.c: Used here.
* src/vm/jit/sparc64/codegen.c: Used here.
* src/vm/jit/sparc64/patcher.c: Used here.

16 years ago* src/vm/jit/s390/codegen.c (codegen_emit): Fix profiling code.
pm [Wed, 27 Jun 2007 20:37:45 +0000 (20:37 +0000)]
* src/vm/jit/s390/codegen.c (codegen_emit): Fix profiling code.

16 years ago* src/vm/jit/s390/codegen.c (codegen_emit): Replace some load/stores by a mvc.
pm [Wed, 27 Jun 2007 20:08:30 +0000 (20:08 +0000)]
* src/vm/jit/s390/codegen.c (codegen_emit): Replace some load/stores by a mvc.

16 years ago* src/mm/boehm.c (gc_init): Set GC_all_interior_pointers to 0 and call
twisti [Wed, 27 Jun 2007 18:35:40 +0000 (18:35 +0000)]
* src/mm/boehm.c (gc_init): Set GC_all_interior_pointers to 0 and call
GC_INIT very late.

* src/vm/vm.c (vm_create): Initialze the GC before all other
subsystems.

16 years ago* src/native/vm/sun_misc_Unsafe.c (putObject): New function.
twisti [Wed, 27 Jun 2007 13:26:49 +0000 (13:26 +0000)]
* src/native/vm/sun_misc_Unsafe.c (putObject): New function.
(park): New function, but not implemented.

16 years ago* src/native/vm/gnu/java_lang_VMRuntime.c (unistd.h): Added.
twisti [Wed, 27 Jun 2007 09:23:24 +0000 (09:23 +0000)]
* src/native/vm/gnu/java_lang_VMRuntime.c (unistd.h): Added.

16 years ago* src/vm/exceptions.h: Added EXCEPTION_HARDWARE_COMPILER.
michi [Wed, 27 Jun 2007 09:04:17 +0000 (09:04 +0000)]
* src/vm/exceptions.h: Added EXCEPTION_HARDWARE_COMPILER.
* src/vm/exceptions.c (exceptions_init): Made check clearer.

16 years ago* src/vm/jit/patcher-common.h: Added.
michi [Wed, 27 Jun 2007 08:54:10 +0000 (08:54 +0000)]
* src/vm/jit/patcher-common.h: Added.
* src/vm/jit/patcher-common.t: Added.
* src/vm/jit/Makefile.am: Added above two files.

* src/vm/jit/code.h (codeinfo): Added patcher list.
* src/vm/jit/code.c (code_codeinfo_new, code_codeinfo_free): Patcher list is
created and freed together with codeinfo.

* src/vm/jit/codegen-common.c (codegen_finish): Absolute PCs for patchers are
resolved.

* src/vm/jit/emit-common.h (emit_patcher_traps): Added prototype.

* src/vm/exception.c (exceptions_new_hardware_exception): Patcher handler is
called if needed.

16 years ago* src/vm/jit/s390/tests/dacapo.status: Added more dacapo eclipse results.
pm [Tue, 26 Jun 2007 21:16:35 +0000 (21:16 +0000)]
* src/vm/jit/s390/tests/dacapo.status: Added more dacapo eclipse results.

16 years ago* src/vm/jit/i386/patcher.c (patcher_builtin_multianewarray): Dont'
twisti [Tue, 26 Jun 2007 15:47:43 +0000 (15:47 +0000)]
* src/vm/jit/i386/patcher.c (patcher_builtin_multianewarray): Dont'
patch function address.

16 years ago* src/vm/jit/s390/tests/jasmin.status: Added.
pm [Mon, 25 Jun 2007 18:58:11 +0000 (18:58 +0000)]
* src/vm/jit/s390/tests/jasmin.status: Added.

16 years ago* src/vm/jit/stacktrace.c (stacktrace_print_trace): Handle
twisti [Sun, 24 Jun 2007 10:12:27 +0000 (10:12 +0000)]
* src/vm/jit/stacktrace.c (stacktrace_print_trace): Handle
WITH_CLASSPATH_SUN properly.

16 years ago* src/vm/jit/replace.c: Adapted to multiplied regoff value.
michi [Fri, 22 Jun 2007 16:33:40 +0000 (16:33 +0000)]
* src/vm/jit/replace.c: Adapted to multiplied regoff value.

16 years ago* src/lib/gnu/sun/misc/Unsafe.java: Updated to openjdk rev239.
twisti [Fri, 22 Jun 2007 15:31:05 +0000 (15:31 +0000)]
* src/lib/gnu/sun/misc/Unsafe.java: Updated to openjdk rev239.

* src/native/vm/sun_misc_Unsafe.c (arrayBaseOffset): Implemented.
(arrayIndexScale): Likewise.
(addressSize): Likewise.

16 years ago* src/vmcore/options.c (opt_MaxPermSize): Added.
twisti [Fri, 22 Jun 2007 14:49:10 +0000 (14:49 +0000)]
* src/vmcore/options.c (opt_MaxPermSize): Added.
(opt_PermSize): Likewise.
(options_xx): Check for +/- for boolean options (still some work
left).

* src/vmcore/options.h (opt_MaxPermSize): Added.
(opt_PermSize): Likewise.

16 years ago* m4/classpath.m4: Added Id keyword.
twisti [Fri, 22 Jun 2007 13:29:38 +0000 (13:29 +0000)]
* m4/classpath.m4: Added Id keyword.

16 years ago* configure.ac,
twisti [Fri, 22 Jun 2007 11:15:47 +0000 (11:15 +0000)]
* configure.ac,
contrib/mapfile-vers-product,
m4/classpath.m4,
src/cacao/Makefile.am,
src/lib/Makefile.am,
src/lib/gnu/java/lang/reflect,
src/lib/gnu/java/lang/reflect/Field.java,
src/lib/gnu/java/lang/reflect/Method.java,
src/lib/gnu/sun,
src/lib/gnu/sun/misc,
src/lib/gnu/sun/misc/Unsafe.java,
src/native/include/Makefile.am,
src/native/jni.c,
src/native/jni.h,
src/native/native.c,
src/native/native.h,
src/native/vm/Makefile.am,
src/native/vm/gnu/java_lang_reflect_Field.c,
src/native/vm/gnu/java_lang_reflect_Method.c,
src/native/vm/java_lang_Class.c,
src/native/vm/java_lang_ClassLoader.c,
src/native/vm/java_lang_Object.c,
src/native/vm/java_lang_Object.h,
src/native/vm/java_lang_Thread.c,
src/native/vm/java_lang_reflect_Constructor.c,
src/native/vm/java_lang_reflect_Method.c,
src/native/vm/nativevm.c,
src/native/vm/nativevm.h,
src/native/vm/sun,
src/native/vm/sun/Makefile.am,
src/native/vm/sun/jvm.c,
src/native/vm/sun_misc_Unsafe.c,
src/threads/native/threads.c,
src/threads/threads-common.c,
src/vm/properties.c,
src/vm/vm.c,
src/vm/vm.h,
src/vmcore/class.h,
src/vmcore/field.c,
src/vmcore/field.h,
src/vmcore/utf8.c,
src/vmcore/utf8.h: Initial support for using OpenJDK libraries as Java
core libraries.

16 years ago* src/vm/jit/m68k/emit.c (emit_verbosecall_enter): Fixed for 8 byte stack slots.
tbfg [Fri, 22 Jun 2007 09:37:00 +0000 (09:37 +0000)]
* src/vm/jit/m68k/emit.c (emit_verbosecall_enter): Fixed for 8 byte stack slots.
* src/vm/jit/m68k/asmpart.S (asm_vm_call_method): Fixed location of method address.

16 years ago* src/vmcore/options.c (opt_ThreadStackSize): Added.
twisti [Fri, 22 Jun 2007 08:50:37 +0000 (08:50 +0000)]
* src/vmcore/options.c (opt_ThreadStackSize): Added.
(options_xx): Option and values are seperated by '=', not by ':'
(let's keep compatible to Sun).
* src/vmcore/options.h (opt_ThreadStackSize): Added.

16 years ago* src/vm/jit/m68k/linux/md-abi.h: Prepared 8 byte stackslots.
tbfg [Thu, 21 Jun 2007 16:29:53 +0000 (16:29 +0000)]
* src/vm/jit/m68k/linux/md-abi.h: Prepared 8 byte stackslots.
* src/vm/jit/m68k/linux/md-abi.c: Likewise.
* src/vm/jit/m68k/emit.c: Likewise.
* src/vm/jit/m68k/arch.h: Likewise.
* src/vm/jit/m68k/codegen.c: Likewise.
* src/vm/jit/m68k/asmpart.S: Likewise.
* src/vm/jit/asmpart.h: Likewise.
* src/vm/vm.c: Likewise.
* src/vm/vm.h: Likewise.
* src/native/jni.c: Likewise.

16 years ago* src/vm/jit/arm/arch.h: Removed HAS_4BYTE_STACKSLOT, ALIGN_LONGS_IN_MEMORY and
michi [Thu, 21 Jun 2007 11:55:56 +0000 (11:55 +0000)]
* src/vm/jit/arm/arch.h: Removed HAS_4BYTE_STACKSLOT, ALIGN_LONGS_IN_MEMORY and
ALIGN_DOUBLES_IN_MEMORY.

* src/vm/jit/arm/md-abi.c (md_param_alloc): Changed to 8-byte stackslots and
set pd->index correctly.

* src/vm/jit/arm/codegen.c: Changed to 8-byte stackslots (spilled regs and
arguments only).

* src/vm/jit/arm/asmpart.S (asm_vm_call_method): Reimplemented to fit new
argument passing. Changed to 8-byte stackslots.

* src/vm/vm.c (vm_array_store_flt, vm_array_store_dbl)
[SUPPORT_PASS_FLOATARGS_IN_INTREGS]: Fixed.

* src/vm/vm.c: Added ARM ifdefs.
* src/vm/vm.h: Added ARM ifdefs.
* src/native/jni.c: Added ARM ifdefs.

16 years ago* configure.ac (AC_CHECK_FUNCS): Added gethostname.
twisti [Thu, 21 Jun 2007 10:42:35 +0000 (10:42 +0000)]
* configure.ac (AC_CHECK_FUNCS): Added gethostname.

16 years ago* configure.ac (AC_CHECK_HEADERS): Added sys/socket.h.
twisti [Thu, 21 Jun 2007 10:02:14 +0000 (10:02 +0000)]
* configure.ac (AC_CHECK_HEADERS): Added sys/socket.h.
(AC_CHECK_FUNCS): Added accept, close, connect, getsockname, listen,
setsockopt, shutdown, socket.

16 years ago* src/vmcore/options.c [ENABLE_REPLACEMENT] (opt_TraceReplacement): Added.
michi [Wed, 20 Jun 2007 23:32:34 +0000 (23:32 +0000)]
* src/vmcore/options.c [ENABLE_REPLACEMENT] (opt_TraceReplacement): Added.
(options_xx) [ENABLE_REPLACEMENT]: Handle OPT_TraceReplacement.

* src/vmcore/options.h [ENABLE_REPLACEMENT] (opt_TraceReplacement): Added.

* src/vm/jit/replace.c: Use opt_TraceReplacement mentioned above.

16 years ago* src/vmcore/options.c (opt_verboseexception): Removed.
twisti [Wed, 20 Jun 2007 22:11:24 +0000 (22:11 +0000)]
* src/vmcore/options.c (opt_verboseexception): Removed.
(opt_TraceExceptions): Added.
(options_xx): Handle OPT_TraceExceptions.

* src/vmcore/options.h (opt_verboseexception): Removed.
(opt_TraceExceptions): Added.

* src/vm/exceptions.c (exceptions_handle_exception): Replaced
opt_verboseexception with opt_TraceExceptions.

* src/vm/vm.c (XXusage): Removed opt_verboseexception.
(vm_create): Likewise.

16 years ago* src/vmcore/statistics.c (statistics_print_gc_memory_usage):
twisti [Wed, 20 Jun 2007 22:05:10 +0000 (22:05 +0000)]
* src/vmcore/statistics.c (statistics_print_gc_memory_usage):
Different print-format for different pointer-sizes.

16 years ago* src/vm/jit/s390/codegen.h,
pm [Wed, 20 Jun 2007 21:20:53 +0000 (21:20 +0000)]
* src/vm/jit/s390/codegen.h,
src/vm/jit/s390/codegen.c (codegen_emit): Support another hercules bug in F2D.

16 years ago* src/vm/jit/arm/codegen.c (codegen_emit, codegen_emit_stub_native):
michi [Wed, 20 Jun 2007 20:30:56 +0000 (20:30 +0000)]
* src/vm/jit/arm/codegen.c (codegen_emit, codegen_emit_stub_native):
Changed cd->stackframesize from wordcount to bytecount.

* src/vm/jit/arm/emit.c (emit_verbosecall_enter): Adapted to above change.

16 years ago* src/vm/vm.c (vm_array_store_int, vm_array_store_adr, vm_array_store_lng,
michi [Wed, 20 Jun 2007 19:14:05 +0000 (19:14 +0000)]
* src/vm/vm.c (vm_array_store_int, vm_array_store_adr, vm_array_store_lng,
vm_array_store_flt, vm_array_store_dbl): Uses pd->index for inmemory arguments.

* src/vm/jit/allocator/simplereg.c: The regoff value is a real offset
(multiplied by the stackslot size) for inmemory variables now.

* src/vm/jit/arm/md-abi.c (md_param_alloc): Set pd->regoff as described above.
* src/vm/jit/arm/emit.c: Adapted to above changes.
* src/vm/jit/arm/codegen.c: Adapted to above changes.

* src/vm/jit/powerpc/linux/md-abi.c,
* src/vm/jit/powerpc/netbsd/md-abi.c,
* src/vm/jit/powerpc/emit.c,
* src/vm/jit/powerpc/darwin/md-abi.c,
* src/vm/jit/powerpc/codegen.c,
* src/vm/jit/sparc64/emit.c,
* src/vm/jit/sparc64/md-abi.h,
* src/vm/jit/sparc64/codegen.c,
* src/vm/jit/sparc64/md-abi.c,
* src/vm/jit/alpha/emit.c,
* src/vm/jit/alpha/codegen.c,
* src/vm/jit/alpha/md-abi.c,
* src/vm/jit/s390/emit.c,
* src/vm/jit/s390/codegen.c,
* src/vm/jit/s390/md-abi.c,
* src/vm/jit/mips/emit.c,
* src/vm/jit/mips/codegen.c,
* src/vm/jit/mips/md-abi.c,
* src/vm/jit/m68k/emit.c,
* src/vm/jit/m68k/linux/md-abi.c,
* src/vm/jit/m68k/codegen.c,
* src/vm/jit/powerpc64/linux/md-abi.c,
* src/vm/jit/powerpc64/emit.c,
* src/vm/jit/powerpc64/codegen.c,
* src/vm/jit/i386/emit.c,
* src/vm/jit/i386/codegen.c,
* src/vm/jit/i386/md-abi.c,
* src/vm/jit/x86_64/emit.c,
* src/vm/jit/x86_64/codegen.c,
* src/vm/jit/x86_64/md-abi.c: Likewise.

16 years ago* src/threads/threads-common.c (threads_preinit): Added another
twisti [Wed, 20 Jun 2007 18:57:41 +0000 (18:57 +0000)]
* src/threads/threads-common.c (threads_preinit): Added another
linuxthreads check.

16 years ago* src/vmcore/statistics.c (statistics_print_gc_memory_usage): Call
twisti [Wed, 20 Jun 2007 18:05:39 +0000 (18:05 +0000)]
* src/vmcore/statistics.c (statistics_print_gc_memory_usage): Call
fflush.

* configure.ac (AC_CHECK_FUNCS): Added fflush, fopen, fprintf.

16 years ago* src/vm/vm.c (XXusage): Removed -verbose:memory.
twisti [Wed, 20 Jun 2007 17:54:36 +0000 (17:54 +0000)]
* src/vm/vm.c (XXusage): Removed -verbose:memory.
(vm_create): Likewise.

* src/mm/memory.c (memory_thread): Rewritten to use new variables.

* src/vmcore/options.c (errno.h): Added.
(stdint.h): Likewise
(stdio.h): Likewise.
(stdlib.h): Likewise.
(opt_verbosememory): Removed.
(opt_ProfileGCMemoryUsage): Added.
(opt_ProfileMemoryUsage): Likewise.
(opt_ProfileMemoryUsageGNUPlot): Likewise.
(options_XX): Likewise.
(options_xx): Implemented.

* src/vmcore/options.h (stdint.h): Added.
(option_t): Likewise.
(opt_ProfileGCMemoryUsage): Likewise.
(opt_ProfileMemoryUsage): Likewise.
(opt_ProfileMemoryUsageGNUPlot): Likewise.
(options_xx): Changed signature.

* src/vmcore/statistics.c (statistics_print_gc_memory_usage):
Rewritten to use new variables and GNU Plot output.

* configure.ac (AC_CHECK_FUNCS): Added atoi, atol, strchr, strncmp.

16 years ago* src/native/vm/gnu/gnu_java_lang_management_VMClassLoadingMXBeanImpl.c,
twisti [Wed, 20 Jun 2007 13:51:38 +0000 (13:51 +0000)]
* src/native/vm/gnu/gnu_java_lang_management_VMClassLoadingMXBeanImpl.c,
src/native/vm/gnu/gnu_java_lang_management_VMRuntimeMXBeanImpl.c,
src/native/vm/gnu/gnu_java_lang_management_VMThreadMXBeanImpl.c,
src/native/vm/gnu/java_lang_VMObject.c,
src/native/vm/gnu/java_lang_VMRuntime.c,
src/native/vm/gnu/java_lang_VMThread.c,
src/native/vm/gnu/java_lang_reflect_Field.c,
src/native/vm/sun_misc_Unsafe.c: Use stdint-types because of conflicts
with generated header files.

16 years ago* src/cacaoh/cacaoh.c (HEAP_MAXSIZE, HEAP_STARTSIZE): Removed.
twisti [Wed, 20 Jun 2007 12:24:32 +0000 (12:24 +0000)]
* src/cacaoh/cacaoh.c (HEAP_MAXSIZE, HEAP_STARTSIZE): Removed.
(main): Removed heapmaxsize, heapstartsize.

16 years ago* src/native/vm/nativevm.h [ENABLE_JAVASE && WITH_CLASSPATH_GNU]:
twisti [Wed, 20 Jun 2007 12:22:56 +0000 (12:22 +0000)]
* src/native/vm/nativevm.h [ENABLE_JAVASE && WITH_CLASSPATH_GNU]:
Added _Jv_java_util_concurrent_atomic_AtomicLong_init.

16 years ago* src/vm/jit/sparc64/md-abi.c (md_param_alloc): Added pd->index setting.
ajordan [Wed, 20 Jun 2007 12:05:26 +0000 (12:05 +0000)]
* src/vm/jit/sparc64/md-abi.c (md_param_alloc): Added pd->index setting.

* src/vm/jit/sparc64/asmpart.S (asm_vm_call_method): Get parameters from
new array.

* src/vm/jit/asmpart.h: Enable new parameter passing for SPARC64.
* src/vm/vm.h: Likewise.
* src/vm/vm.c: Likewise.
(vm_array_store_flt): For SPARC, shift float arguments on stack to low word too.

16 years ago* src/vm/vm.c (vm_array_store_int) [SIZEOF_VOID_P == 4]: Only do the
twisti [Wed, 20 Jun 2007 11:11:59 +0000 (11:11 +0000)]
* src/vm/vm.c (vm_array_store_int) [SIZEOF_VOID_P == 4]: Only do the
integer shift on 32-bit architectures.

16 years ago* src/vm/vm.c (vm_call_float_array): New function.
twisti [Tue, 19 Jun 2007 22:50:17 +0000 (22:50 +0000)]
* src/vm/vm.c (vm_call_float_array): New function.
(vm_call_method_float_valist): Likewise.
(vm_call_method_float_jvalue): Likewise.
(vm_call_double_array): Likewise.
(vm_call_method_double_valist): Likewise.
(vm_call_method_double_jvalue): Likewise.

* src/vm/vm.h: Defined new functions.
* src/vm/jit/asmpart.h: Likewise.
* src/native/jni.c: Use new functions.

16 years ago* src/cacaoh/headers.c (stdint.h): Added and use stdint-types.
twisti [Tue, 19 Jun 2007 21:47:51 +0000 (21:47 +0000)]
* src/cacaoh/headers.c (stdint.h): Added and use stdint-types.
(vm/types.h): Removed.

16 years ago* src/cacaoh/dummy.c (stdint.h): Added.
twisti [Tue, 19 Jun 2007 21:15:00 +0000 (21:15 +0000)]
* src/cacaoh/dummy.c (stdint.h): Added.
(vm/types.h): Removed and replaced all old types with stdint ones.
(threads/threads-common.h): Removed.
[ENABLE_THREADS] (threads_current_threadobject_key): Removed.

16 years ago* src/native/vm/nativevm.c (nativevm_init)
twisti [Tue, 19 Jun 2007 19:43:00 +0000 (19:43 +0000)]
* src/native/vm/nativevm.c (nativevm_init)
[ENABLE_JAVASE && WITH_CLASSPATH_GNU]: Call
_Jv_java_util_concurrent_atomic_AtomicLong_init.

* src/native/vm/Makefile.am [ENABLE_JAVASE]
(JAVA_UTIL_CONCURRENT_ATOMIC_ATOMICLONG_SOURCES): Added.
(libnativevm_la_SOURCES): Added
JAVA_UTIL_CONCURRENT_ATOMIC_ATOMICLONG_SOURCES.

* src/native/vm/java_util_concurrent_atomic_AtomicLong.c: New file.
* src/native/vm/java_util_concurrent_atomic_AtomicLong.h: Likewise.

* src/native/vm/gnu/Makefile.am (libnativevmcore_la_SOURCES): Added
java_util_concurrent_atomic_AtomicLong.c.

* src/native/vm/gnu/java_util_concurrent_atomic_AtomicLong.c: New
file.

* src/native/include/Makefile.am (JAVASE_HEADER_FILES): Added
java_util_concurrent_atomic_AtomicLong.h.

16 years ago* src/cacaoh/dummy.c: Added Id keyword.
twisti [Tue, 19 Jun 2007 18:09:16 +0000 (18:09 +0000)]
* src/cacaoh/dummy.c: Added Id keyword.

16 years ago* src/cacaoh/dummy.c [ENABLE_THREADS] (pthread.h): Removed.
twisti [Tue, 19 Jun 2007 18:07:59 +0000 (18:07 +0000)]
* src/cacaoh/dummy.c [ENABLE_THREADS] (pthread.h): Removed.
(threads/threads-common.h): Added.
[ENABLE_THREADS] (threads_current_threadobject_key): Added #ifdef.

16 years ago* src/vm/exceptions.c (exceptions_throw_utf_throwable): Call
twisti [Mon, 18 Jun 2007 20:18:14 +0000 (20:18 +0000)]
* src/vm/exceptions.c (exceptions_throw_utf_throwable): Call
(Ljava/lang/Throwable;)V initializer and resolve the method with
class_resolveclassmethod to get possible exceptions.
(exceptions_throw_utf_cause): New function.
(exceptions_throw_noclassdeffounderror_cause): Use
exceptions_throw_utf_cause.

16 years ago* src/vm/jit/powerpc64/linux/md-abi.c (md_param_alloc): Set index.
tbfg [Mon, 18 Jun 2007 18:26:58 +0000 (18:26 +0000)]
* src/vm/jit/powerpc64/linux/md-abi.c (md_param_alloc): Set index.

* src/vm/jit/powerpc64/asmpart.S (asm_vm_call_method): New parameter
format, do not call asm_jit_compile any more.

* src/vm/jit/asmpart.h: Enable new parameter format function
prototypes.

* src/vm/vm.h: Likewise.

* src/vm/vm.c (vm_array_store_int): Although ppc64 is big endian
do not big endianize the new parameter format.
(vm_array_store_flt): Likewise.
(vm_array_store_adr): Likewise.
(vm_vmargs_from_valist): ppc64 like alpha uses doubles everywhere.
(vm_vmargs_from_jvalue): When HAS_ADDRESS_REGISTER_FILE is defined
address register arguments are between float and memuse.

* src/native/jni.c: Enable new parameter function calling.

16 years ago* src/vm/jit/s390/codegen.c (codegen_emit): More data segment load optimalisations.
pm [Sun, 17 Jun 2007 14:50:16 +0000 (14:50 +0000)]
* src/vm/jit/s390/codegen.c (codegen_emit): More data segment load optimalisations.
* src/vm/jit/s390/md.c (md_get_method_patch_address): Adapt to changes in codegen_emit.

16 years ago* src/vm/jit/s390/asmpart.S
pm [Sun, 17 Jun 2007 13:45:58 +0000 (13:45 +0000)]
* src/vm/jit/s390/asmpart.S
src/vm/jit/s390/codegen.h,
src/vm/jit/s390/codegen.c,
src/vm/jit/s390/emit.c,
src/vm/jit/s390/md.c,
src/vm/jit/s390/patcher.c,
src/vm/jit/s390/tests/dacapo.status: Optimized loads from data segment: the procedure vector now always points 4092 bytes before the data segment, so a lot of loads have a positive displacement. Removed dead code.

16 years ago* src/vm/jit/sparc64/codegen.c (codegen_emit): Improved integer argument passing
ajordan [Sat, 16 Jun 2007 19:56:19 +0000 (19:56 +0000)]
* src/vm/jit/sparc64/codegen.c (codegen_emit): Improved integer argument passing
by swapping variable allocation instead of copying.

* src/vm/jit/sparc64/md-abi.h: Turned %i0 into saved reg.
* src/vm/jit/sparc64/md-abi.c: Likewise.

16 years ago* src/vmcore/statistics.h: Added more fine grained spill statistics.
ajordan [Sat, 16 Jun 2007 01:15:41 +0000 (01:15 +0000)]
* src/vmcore/statistics.h: Added more fine grained spill statistics.
* src/vmcore/statistics.c: Likewise.

* src/vm/jit/jit.h: New defines for spill statistics. Old ones are deprecated,
won't increase the counters.

* src/vm/jit/codegen-common.c (codegen_increase): Defined SPARC64 for
2-instr-patcher-stub-call workaround.
(codegen_add_patch_ref): Likewise.
(codegen_reg_of_var): Removed obsolete spill counting.

* src/vm/jit/sparc64/emit.c: Changed for new spill statistics.
* src/vm/jit/sparc64/linux/md-os.c (md_critical_section_restart): Fixed.

16 years ago* src/vm/jit/emit-common.c (emit_bccz) [STATISTICS]: Is called
twisti [Thu, 14 Jun 2007 16:51:44 +0000 (16:51 +0000)]
* src/vm/jit/emit-common.c (emit_bccz) [STATISTICS]: Is called
ENABLE_STATISTICS.
(emit_label_bccz): Likewise.
(emit_label): Likewise.

16 years ago* src/native/native.c (native_findfunction): Use
twisti [Thu, 14 Jun 2007 16:12:35 +0000 (16:12 +0000)]
* src/native/native.c (native_findfunction): Use
exceptions_throw_unsatisfiedlinkerror.

16 years ago* src/threads/native/threads.c: Don't use exceptionptr directly
twisti [Thu, 14 Jun 2007 16:10:33 +0000 (16:10 +0000)]
* src/threads/native/threads.c: Don't use exceptionptr directly
anymore.

16 years ago* src/vm/exceptions.c: Don't use exceptionptr directly anymore, access
twisti [Thu, 14 Jun 2007 16:07:37 +0000 (16:07 +0000)]
* src/vm/exceptions.c: Don't use exceptionptr directly anymore, access
it only with functions.

16 years ago* src/native/vm/java_lang_Class.c: Added Id keyword.
twisti [Thu, 14 Jun 2007 16:06:31 +0000 (16:06 +0000)]
* src/native/vm/java_lang_Class.c: Added Id keyword.

16 years ago* src/native/vm/java_lang_Class.c (forName): Removed unused variables.
twisti [Thu, 14 Jun 2007 16:05:42 +0000 (16:05 +0000)]
* src/native/vm/java_lang_Class.c (forName): Removed unused variables.

16 years ago* src/vm/exceptions.c (exceptions_get_exception)
twisti [Thu, 14 Jun 2007 16:01:12 +0000 (16:01 +0000)]
* src/vm/exceptions.c (exceptions_get_exception)
(exceptions_set_exception, exceptions_clear_exception)
(exceptions_get_and_clear_exception): Moved these low leve function to
the top of the file.
* src/vm/exceptions.h: Likewise.

16 years ago* src/vmcore/loader.c: Removed commented
twisti [Thu, 14 Jun 2007 15:31:54 +0000 (15:31 +0000)]
* src/vmcore/loader.c: Removed commented
exceptions_throw_noclassdeffounderror calls.

16 years ago* src/vm/jit/emit-common.c: Fixed warning related to STATISTICS.
tbfg [Thu, 14 Jun 2007 15:12:54 +0000 (15:12 +0000)]
* src/vm/jit/emit-common.c: Fixed warning related to STATISTICS.

16 years ago* src/vm/jit/emit-common.c: Added emit_branch statistics.
tbfg [Thu, 14 Jun 2007 12:10:49 +0000 (12:10 +0000)]
* src/vm/jit/emit-common.c: Added emit_branch statistics.
* src/vmcore/statistics.c: Likewise.
* src/vmcore/statistics.h: Added count_emit_branch,
count_emit_branch_8bit, count_emit_branch_16bit,
count_emit_branch_32bit, count_emit_branch_64bit.

16 years agosrc/vm/jit/m68k/disass.c: Changed bfd_mach_mcf_isa_b_float_emac to
tbfg [Thu, 14 Jun 2007 12:07:03 +0000 (12:07 +0000)]
src/vm/jit/m68k/disass.c: Changed bfd_mach_mcf_isa_b_float_emac to
bfd_mach_mcfv4e as needed for newer binutils.

16 years ago* src/vm/jit/x86_64/asmpart.S (asm_vm_call_method): Rewritten for new
twisti [Thu, 14 Jun 2007 11:12:11 +0000 (11:12 +0000)]
* src/vm/jit/x86_64/asmpart.S (asm_vm_call_method): Rewritten for new
argument passing.

* src/vm/jit/x86_64/md-abi.c (md_param_alloc): Set pd->index.

* src/vm/vm.c: Added __X86_64__ ifdef.
* src/vm/vm.h: Likewise.
* src/native/jni.c: Likewise.
* src/vm/jit/asmpart.h: Likewise.