cacao.git
18 years ago* src/vm/jit/x86_64/codegen.c (vm/jit/emit.h): Added.
twisti [Tue, 18 Apr 2006 20:34:52 +0000 (20:34 +0000)]
* src/vm/jit/x86_64/codegen.c (vm/jit/emit.h): Added.
(codegen): Use emit_load/store functions instead of macors. Saves over
25kB object code size.

* src/vm/jit/x86_64/codegen.h (ALIGNCODENOP): Added.
(var_to_reg_int): Removed.
(var_to_reg_flt): Likewise.
(store_reg_to_var_int): Likewise.
(store_reg_to_var_flt): Likewise.
(M_INEG, M_LNEG, M_INEG_MEMBASE, M_LNEG_MEMBASE): Added.
(M_CMOVEQ_MEMBASE, M_CMOVNE_MEMBASE, M_CMOVLT_MEMBASE)
(M_CMOVLE_MEMBASE, M_CMOVGE_MEMBASE, M_CMOVGT_MEMBASE): Likewise.

* src/vm/jit/x86_64/emitfuncs.c (emit_load_s1): Added.
(emit_load_s2): Likewise.
(emit_load_s3): Likewise.
(emit_store): Likewise.
(emit_copy): Likewise.
(emit_cmovxx): Likewise.

* src/vm/jit/x86_64/emitfuncs.h (emit_cmovxx): Added.

18 years ago* src/vm/jit/x86_64/md-abi.h (REG_IFTMP): Defined.
twisti [Tue, 18 Apr 2006 20:20:13 +0000 (20:20 +0000)]
* src/vm/jit/x86_64/md-abi.h (REG_IFTMP): Defined.

18 years ago* src/vm/jit/stack.c (stack_show_icmd): Updated to use the correct macros for
edwin [Tue, 18 Apr 2006 20:17:07 +0000 (20:17 +0000)]
* src/vm/jit/stack.c (stack_show_icmd): Updated to use the correct macros for
(un)resolved methods. Minor output format changes.

* src/vm/field.c (field_print): Print the class name.

18 years ago* src/vm/jit/alpha/Makefile.am (DISASS_SOURCES): Added.
twisti [Tue, 18 Apr 2006 20:10:23 +0000 (20:10 +0000)]
* src/vm/jit/alpha/Makefile.am (DISASS_SOURCES): Added.
* src/vm/jit/mips/Makefile.am: Likewise.

18 years ago* configure.ac (intl): Check on NetBSD too.
twisti [Tue, 18 Apr 2006 15:55:45 +0000 (15:55 +0000)]
* configure.ac (intl): Check on NetBSD too.

18 years ago* configure.ac: Fixed typos.
twisti [Tue, 18 Apr 2006 15:40:25 +0000 (15:40 +0000)]
* configure.ac: Fixed typos.

18 years ago* src/vm/jit/mips/codegen.h (M_FLTMOVE): Removed.
twisti [Tue, 18 Apr 2006 13:36:15 +0000 (13:36 +0000)]
* src/vm/jit/mips/codegen.h (M_FLTMOVE): Removed.
(M_TFLTMOVE): Likewise.
(M_TFLD): Likewise.
(M_TFST): Likewise.
(M_CCFLTMOVE): Likewise.
(M_CCFLD): Likewise.
(M_CCFST): Likewise.
* src/vm/jit/mips/codegen.c (codegen): Use float and double
explicitely.
* src/vm/jit/mips/emit.c: Likewise.

18 years ago* src/vm/jit/intrp/codegen.c (intrp_codegen): Cast mcodeptr to u1*.
edwin [Mon, 17 Apr 2006 15:49:06 +0000 (15:49 +0000)]
* src/vm/jit/intrp/codegen.c (intrp_codegen): Cast mcodeptr to u1*.
This should fix intrp on archs with u4* mcodeptr.

18 years ago* src/vm/builtin.c (builtin_monitorenter, builtin_monitorexit): Added rt-timing.
edwin [Mon, 17 Apr 2006 15:20:45 +0000 (15:20 +0000)]
* src/vm/builtin.c (builtin_monitorenter, builtin_monitorexit): Added rt-timing.

* src/vm/rt-timing.c, src/vm/rt-timing.h: rt-timing for locks.

18 years ago* src/vm/jit/codegen-common.h (codegendata): Define lastmcodeptr on
twisti [Mon, 17 Apr 2006 11:47:03 +0000 (11:47 +0000)]
* src/vm/jit/codegen-common.h (codegendata): Define lastmcodeptr on
all architectures. I think it does not matter.

18 years ago* src/vm/jit/codegen-common.h: Typo fix.
edwin [Fri, 14 Apr 2006 23:50:27 +0000 (23:50 +0000)]
* src/vm/jit/codegen-common.h: Typo fix.

18 years ago* src/vm/jit/parse.c (parse): Removed unused variable `mi`.
edwin [Fri, 14 Apr 2006 23:48:26 +0000 (23:48 +0000)]
* src/vm/jit/parse.c (parse): Removed unused variable `mi`.

18 years ago* src/vm/rt-timing.c: include stdlib.h to fix warning.
edwin [Fri, 14 Apr 2006 23:46:38 +0000 (23:46 +0000)]
* src/vm/rt-timing.c: include stdlib.h to fix warning.

18 years ago* src/vm/jit/mips/emit.c: New file.
twisti [Fri, 14 Apr 2006 12:40:49 +0000 (12:40 +0000)]
* src/vm/jit/mips/emit.c: New file.
* src/vm/jit/mips/Makefile.am (libarch_la_SOURCES): Added emit.c

* src/vm/jit/mips/codegen.c (vm/jit/emit.h): Added.
(codegen): Use cd->mcodeptr instead of mcodeptr, and emit_load/store
functions instead of macors. Saves over 50kB object code size.

* src/vm/jit/mips/codegen.h (var_to_reg_int): Removed.
(var_to_reg_flt): Likewise.
(store_reg_to_var_int): Likewise.
(store_reg_to_var_flt): Likewise.

18 years ago* src/vm/jit/codegen-common.c (codegen_setup): Fixed compiler
twisti [Fri, 14 Apr 2006 11:57:04 +0000 (11:57 +0000)]
* src/vm/jit/codegen-common.c (codegen_setup): Fixed compiler
warnings, set lastmcodeptr.
(codegen_increase): Fixed compiler warnings.
(codegen_finish): Likewise.
(codegen_createnativestub): Likewise.

18 years ago* src/vm/jit/alpha/emit.h: Removed. There's now a common one in
twisti [Fri, 14 Apr 2006 11:28:33 +0000 (11:28 +0000)]
* src/vm/jit/alpha/emit.h: Removed. There's now a common one in
src/vm/jit/.

18 years ago* src/vm/jit/emit.h: New file.
twisti [Fri, 14 Apr 2006 11:20:38 +0000 (11:20 +0000)]
* src/vm/jit/emit.h: New file.
* src/vm/jit/Makefile.am (noinst_HEADERS): Added emit.h.

* src/vm/jit/powerpc/emit.c: New file.
* src/vm/jit/powerpc/Makefile.am (libarch_la_SOURCES): Added emit.c.

* src/vm/jit/powerpc/codegen.c (vm/jit/emit.h): Added.
(codegen): Use cd->mcodeptr instead of mcodeptr, and emit_load/store
functions instead of macors. Saves over 100kB object code size.

* src/vm/jit/powerpc/codegen.h (var_to_reg_int): Removed.
(var_to_reg_lng): Likewise.
(var_to_reg_lng_low): Likewise.
(var_to_reg_lng_high): Likewise.
(var_to_reg_flt): Likewise.
(var_to_reg_dbl): Likewise.
(store_reg_to_var_int): Likewise.
(store_reg_to_var_lng): Likewise.
(store_reg_to_var_adr): Likewise.
(store_reg_to_var_flt): Likewise.
(store_reg_to_var_dbl): Likewise.
(M_LLD_INTERN): Added.
(M_LLD): Likewise.
(M_LST_INTERN): Likewise.
(M_LST): Likewise.

18 years ago* src/vm/loader.c (load_class_from_classloader): Detailed rt-timing.
edwin [Thu, 13 Apr 2006 20:45:16 +0000 (20:45 +0000)]
* src/vm/loader.c (load_class_from_classloader): Detailed rt-timing.
(load_class_bootstrap): Likewise.

* src/vm/rt-timing.c: Added rt-timing for loading from classloaders.
* src/vm/rt-timing.h: Likewise.

18 years ago* src/vm/loader.c (load_class_from_classbuffer): Separate timing for
edwin [Thu, 13 Apr 2006 18:21:11 +0000 (18:21 +0000)]
* src/vm/loader.c (load_class_from_classbuffer): Separate timing for
descriptor_pool_new.

* src/vm/rt-timing.c: Likewise.

* src/vm/rt-timing.h: Likewise.

18 years ago* src/vm/loader.c (load_class_from_classbuffer): Added real-time loading time
edwin [Thu, 13 Apr 2006 18:00:33 +0000 (18:00 +0000)]
* src/vm/loader.c (load_class_from_classbuffer): Added real-time loading time
measurements.

* src/vm/rt-timing.c: Likewise.
* src/vm/rt-timing.h: Likewise.

18 years ago* src/vm/rt-timing.c: Added timing of linker stages.
edwin [Thu, 13 Apr 2006 17:23:12 +0000 (17:23 +0000)]
* src/vm/rt-timing.c: Added timing of linker stages.
* src/vm/rt-timing.h: Likewise.
* src/vm/linker.c: Likewise.

18 years ago* src/vm/rt-timing.h (RT_TIMING_TIME_DIFF): Added.
edwin [Thu, 13 Apr 2006 16:58:05 +0000 (16:58 +0000)]
* src/vm/rt-timing.h (RT_TIMING_TIME_DIFF): Added.

* src/vm/jit/jit.c (jit_compile_intern): Use RT_TIMING_TIME_DIFF.

* src/vm/linker.c (link_class): Use rt-timing for measuring link time.

* src/cacaoh/Makefile.am (cacaoh_LDFLAGS): Link with librt for
ENABLE_RT_TIMING.

18 years ago* src/vm/rt-timing.c (rt_timing_stat): Added field `totalindex`.
edwin [Thu, 13 Apr 2006 16:48:01 +0000 (16:48 +0000)]
* src/vm/rt-timing.c (rt_timing_stat): Added field `totalindex`.
(rt_timing_stat_defs): Likewise.
(rt_timing_diff): Renamed to rt_timing_time_diff.
(rt_timing_print_time_stats): Use `totalindex` to calculate percentage.

* src/vm/rt-timing.h (RT_TIMING_LINK_TOTAL): Added.
(rt_timing_diff): Renamed to rt_timing_time_diff.

18 years ago* src/vm/jit/alpha/emit.c: New file.
twisti [Thu, 13 Apr 2006 14:09:24 +0000 (14:09 +0000)]
* src/vm/jit/alpha/emit.c: New file.
* src/vm/jit/alpha/emit.h: Likewise.

18 years ago* src/vm/jit/codegen-common.h (codegendata): Changed mcodeend to
twisti [Thu, 13 Apr 2006 13:10:06 +0000 (13:10 +0000)]
* src/vm/jit/codegen-common.h (codegendata): Changed mcodeend to
u1*. Define mcodeptr to u4* for non-i386/x86_64 architectures.

18 years ago* src/vm/jit/x86_64/codegen.c (codegen): Use argument registers
twisti [Thu, 13 Apr 2006 09:32:09 +0000 (09:32 +0000)]
* src/vm/jit/x86_64/codegen.c (codegen): Use argument registers
directly in exception stubs, instead of temporary ones. This reduces
code-size about 150kB for -all.

18 years ago* src/vm/jit/x86_64/emitfuncs.c (x86_64_emit_ishift): Bugfixes found
twisti [Thu, 13 Apr 2006 09:19:58 +0000 (09:19 +0000)]
* src/vm/jit/x86_64/emitfuncs.c (x86_64_emit_ishift): Bugfixes found
by javver.
(x86_64_emit_lshift): Likewise.

18 years ago* src/vm/rt-timing.c: Added file.
edwin [Wed, 12 Apr 2006 22:20:49 +0000 (22:20 +0000)]
* src/vm/rt-timing.c: Added file.
* src/vm/rt-timing.h: Likewise.

* src/vm/jit/jit.c: Moved real-time timing stuff to rt-timing.[ch]
* src/vm/jit/jit.h: Likewise.

* src/vm/vm.c (vm_exit_handler): Call rt_timing_print_time_stats.

* src/vm/Makefile.am (rt-timing.c, rt-timing.h): Added.

18 years ago* src/vm/jit/allocator/simplereg.c (allocate_scratch_registers): Fixed
edwin [Wed, 12 Apr 2006 22:16:59 +0000 (22:16 +0000)]
* src/vm/jit/allocator/simplereg.c (allocate_scratch_registers): Fixed
compiler warning.

18 years ago* src/vm/jit/parse.c (parse): New unresolved reference scheme: Data structures
edwin [Wed, 12 Apr 2006 20:06:23 +0000 (20:06 +0000)]
* src/vm/jit/parse.c (parse): New unresolved reference scheme: Data structures
for unresolved fields/methods are only created if really needed. Otherwise
a lazy resolving is done on-the-fly. This reduced compile time by over 10% for
SpecJVM98 and eclipse.

* src/vm/resolve.c (resolve_subtype_check): Added.
(resolve_lazy_subtype_checks): Likewise.
(resolve_and_check_subtype_set): Use resolve_subtype_check. Return
resolve_result_t instead of bool. Removed `checked` argument.
(resolve_class): Use resolve_subtype_check.
(resolve_field_verifier_checks): Added.
(resolve_field_lazy): Added.
(resolve_field): Use resolve_field_verifier_checks.
(resolve_method_invokespecial_lookup): Added.
(resolve_method_verifier_checks): Added.
(resolve_method_lazy): Added.
(resolve_method): Use resolve_method_invokespecial_lookup and
resolve_method_verifier_checks.
(constrain_unresolved_method): Adapted to new unresolved reference scheme.
(constrain_unresolved_field): Likewise.
(unresolved_field_debug_dump): Likewise.
(unresolved_method_debug_dump): Likewise.

* src/vm/jit/patcher.h (intrp_patcher_get_putstatic_clinit): Added.

* src/vm/jit/intrp/intrp.h (vm_Cell2afi): Added.
(vm_afi2Cell): Likewise.
(printarg_afi): Added.
(vim boilerplate): Added.
(Changes): Added my name.

* src/vm/jit/intrp/patcher.c (intrp_patcher_get_putstatic_clinit): Added.

* src/vm/jit/intrp/disass.c (printarg_afi): Added.
(Changes): Added my name.
(vim boilerplate): Added.

* src/vm/jit/intrp/java.vmg (GETSTATIC_CELL, GETSTATIC_INT, GETSTATIC_FLOAT)
(GETSTATIC_LONG, PUTSTATIC_CELL, PUTSTATIC_INT, PUTSTATIC_FLOAT)
(PUTSTATIC_LONG, GETFIELD_CELL, GETFIELD_INT, GETFIELD_FLOAT)
(GETFIELD_LONG, PUTFIELD_CELL, PUTFIELD_INT, PUTFIELD_FLOAT)
(PUTFIELD_LONG): Now take a fieldinfo instead of an unresolved_field.
(INVOKEVIRTUAL, INVOKESTATIC, INVOKESPECIAL, INVOKEINTERFACE): Now take
a methodinfo instead of an unresolved_method.
(PATCHER_GETSTATIC_CLINIT_INT, PATCHER_GETSTATIC_CLINIT_FLOAT)
(PATCHER_GETSTATIC_CLINIT_LONG, PATCHER_GETSTATIC_CLINIT_CELL): Added.
(PATCHER_PUTSTATIC_CLINIT_INT, PATCHER_PUTSTATIC_CLINIT_FLOAT)
(PATCHER_PUTSTATIC_CLINIT_LONG, PATCHER_PUTSTATIC_CLINIT_CELL): Added.

* src/vm/jit/allocator/simplereg.c (allocate_scratch_registers):
Use INSTRUCTION_GET_METHODDESC to get method descriptor.

* src/vm/jit/stack.c (stack_analyse): Ported to new unresolved reference
scheme.
(stack_show_icmd): Likewise.

* src/vm/jit/verify/typecheck.c (verify_invocation): Ported to new unresolved
reference scheme.
(verify_basic_block): Likewise.

* src/vm/jit/powerpc/codegen.c (codegen): Ported to new unresolved reference
scheme.

* src/vm/jit/alpha/codegen.c (codegen): Ported to new unresolved reference
scheme.

* src/vm/jit/mips/codegen.c (codegen): Ported to new unresolved reference
scheme.

* src/vm/jit/i386/codegen.c (codegen): Ported to new unresolved reference
scheme.

* src/vm/jit/x86_64/codegen.c (codegen): Ported to new unresolved reference
scheme.

* src/vm/jit/intrp/codegen.c (codegen): Ported to new unresolved reference
scheme.
(Changes): Added my name.

* src/vm/jit/intrp/codegen.h (vim boilerplate): Added.

18 years ago* src/vm/resolve.h (resolve_result_t): Added.
edwin [Wed, 12 Apr 2006 18:07:05 +0000 (18:07 +0000)]
* src/vm/resolve.h (resolve_result_t): Added.
(resolve_method_lazy): Added prototype.
(resolve_field_lazy): Added prototype.
(resolve_and_check_subtype_set): Removed prototype. This function is
becoming static.

18 years ago* src/vm/class.c (class_showconstantpool): Use the new functions
edwin [Wed, 12 Apr 2006 17:51:10 +0000 (17:51 +0000)]
* src/vm/class.c (class_showconstantpool): Use the new functions
method_methodref_print and field_fieldref_print.

* src/vm/loader.c (load_constantpool): Use p.index in constant_FMIref.
(load_class_from_classbuffer): Likewise.

* src/vm/jit/stack.c (stack_show_icmd): Use p.index in constant_FMIref.

* src/vm/jit/verify/typecheck.c (verify_invocation): Use p.index in constant_FMIref.

* src/vm/resolve.c (resolve_field, resolve_method, constrain_unresolved_field)
(unresolved_field_debug_dump, unresolved_method_debug_dump):
Use p.index in constant_FMIref.

* src/vm/method.c, src/vm/method.h (method_methodref_print): Added.
(method_methodref_println): Likewise.

* src/vm/field.c, src/vm/field.h (field_fieldref_print): Added.
(field_fieldref_println): Likewise.

* src/vm/references.h (constant_FMIref): Changed field `classref` into a
union that is used for caching of already resolved fields/methods.
(IS_FMIREF_RESOLVED): Added.
(METHODREF_CLASSNAME): Added.
(FIELDREF_CLASSNAME): Added.

* src/vm/jit/jit.h (INSTRUCTION_IS_RESOLVED): Added. This is a preparation
for the lazy resolving rewrite.
(INSTRUCTION_IS_UNRESOLVED): Likewise.
(INSTRUCTION_GET_FIELDREF): Likewise.
(INSTRUCTION_GET_METHODREF): Likewise.
(INSTRUCTION_GET_FIELDDESC): Likewise.
(INSTRUCTION_GET_METHODDESC): Likewise.
(INSTRUCTION_UNRESOLVED_METHOD): Likewise.
(INSTRUCTION_UNRESOLVED_FIELD): Likewise.
(INSTRUCTION_RESOLVED_FMIREF): Likewise.
(INSTRUCTION_RESOLVED_FIELDINFO): Likewise.
(INSTRUCTION_RESOLVED_METHODINFO): Likewise.

* src/vm/jit/intrp/disass.c (printarg_auf): Use METHODREF_CLASSNAME.

18 years ago* src/vm/jit/alpha/codegen.c (codegen): Use directly argument
twisti [Wed, 12 Apr 2006 11:51:28 +0000 (11:51 +0000)]
* src/vm/jit/alpha/codegen.c (codegen): Use directly argument
registers in exception stubs, instead of temporary ones. This reduces
code-size about 200kB for -all.

18 years ago* src/vm/jit/powerpc/codegen.c (codegen): Fixed displacement overflow
twisti [Wed, 12 Apr 2006 09:49:18 +0000 (09:49 +0000)]
* src/vm/jit/powerpc/codegen.c (codegen): Fixed displacement overflow
problem when restoring LR. We can't use r0 here.

18 years ago* NEWS: Line-number fix added.
twisti [Wed, 12 Apr 2006 09:30:52 +0000 (09:30 +0000)]
* NEWS: Line-number fix added.

18 years ago* src/vm/jit/parse.c (parse): Skip line number entries that span over zero
edwin [Wed, 12 Apr 2006 09:20:59 +0000 (09:20 +0000)]
* src/vm/jit/parse.c (parse): Skip line number entries that span over zero
bytecode instructions.

18 years ago* src/vm/method.h (methodinfo): Forward declaration moved to refereneces.h.
edwin [Wed, 12 Apr 2006 08:52:14 +0000 (08:52 +0000)]
* src/vm/method.h (methodinfo): Forward declaration moved to refereneces.h.
* src/vm/field.h (fieldinfo): Forward declaration moved to refereneces.h.
* src/vm/references.h (methodinfo, fieldinfo): Added forward references.

18 years ago* src/vm/class.c (class_showconstanti): Removed.
edwin [Wed, 12 Apr 2006 08:34:59 +0000 (08:34 +0000)]
* src/vm/class.c (class_showconstanti): Removed.
(class_showconstantpool): Documented.
(class_showmethods): Documented.
(vim boilerplate): Added.
(Changes): Finally added my name.

18 years ago* src/vm/jit/x86_64/codegen.c (codegen): Changed signature to use
twisti [Tue, 11 Apr 2006 13:13:23 +0000 (13:13 +0000)]
* src/vm/jit/x86_64/codegen.c (codegen): Changed signature to use
jitdata. Renamed reg_of_var by codegen_reg_of_var.
* src/vm/jit/x86_64/codegen.h (M_COPY): Likewise.

18 years ago* tests/regression/clinitexception.2output: Updated.
twisti [Tue, 11 Apr 2006 10:54:23 +0000 (10:54 +0000)]
* tests/regression/clinitexception.2output: Updated.
* tests/regression/native/checkjni.output: Likewise.
* tests/regression/extest.2output: Likewise.

18 years ago* src/vm/builtin.c (builtin_throw_exception): Changed return type and
twisti [Tue, 11 Apr 2006 10:20:18 +0000 (10:20 +0000)]
* src/vm/builtin.c (builtin_throw_exception): Changed return type and
return NULL. This is less error-prone in asm_vm_call_method.
* src/vm/builtin.h: Likewise.

* src/vm/jit/alpha/asmpart.S (asm_vm_call_method_exception_handler):
Don't set v0 to NULL. This is now done in builtin_throw_exception.
* src/vm/jit/i386/asmpart.S: Likewise.
* src/vm/jit/mips/asmpart.S: Likewise.
* src/vm/jit/powerpc/asmpart.S: Likewise.
* src/vm/jit/x86_64/asmpart.S: Likewise.

18 years ago* src/vm/jit/ifconv/ifconv.c (ifconv_static): Keep compiler happy.
twisti [Tue, 11 Apr 2006 10:04:43 +0000 (10:04 +0000)]
* src/vm/jit/ifconv/ifconv.c (ifconv_static): Keep compiler happy.

18 years ago* src/vm/jit/stack.c (stack_print_stack): Only use `regs` if
edwin [Tue, 11 Apr 2006 09:00:36 +0000 (09:00 +0000)]
* src/vm/jit/stack.c (stack_print_stack): Only use `regs` if
ENABLE_DISASSEMBLER is defined.
(stack_show_method): Likewise.

* src/vm/jit/replace.c (replace_executionstate_println): Likewise.

18 years ago* src/vm/jit/intrp/asmpart.c (intrp_asm_handle_exception): Do not trace
edwin [Tue, 11 Apr 2006 05:10:55 +0000 (05:10 +0000)]
* src/vm/jit/intrp/asmpart.c (intrp_asm_handle_exception): Do not trace
exception when NDEBUG.

* src/vm/jit/intrp/dynamic-super.c (disassemble_prim): Only enable for
ENABLE_DISASSEMBLER.
(dynamic_super_init): Only call disassemble_prim for ENABLE_DISASSEMBLER.

* src/vm/jit/intrp/java.vmg: Disable builtin_displaymethodstop and
builtin_trace_args for NDEBUG.

18 years ago* src/vm/jit/mips: Added TAGS.
twisti [Thu, 6 Apr 2006 12:54:07 +0000 (12:54 +0000)]
* src/vm/jit/mips: Added TAGS.
* src/vm/jit/mips/irix: Likewise.
* src/vm/jit/mips/irix/.cvsignore: Likewise.
* src/vm/jit/mips/.cvsignore: Likewise.

18 years ago* src/vm/jit/mips/codegen.c (codegen): Changed signature to use
twisti [Thu, 6 Apr 2006 12:51:53 +0000 (12:51 +0000)]
* src/vm/jit/mips/codegen.c (codegen): Changed signature to use
jitdata. Renamed reg_of_var by codegen_reg_of_var.
(createcompilerstub): Replaced docacheflush by md_cacheflush.
* src/vm/jit/mips/codegen.h (M_COPY): Likewise.
* src/vm/jit/mips/md.c (sys/mman.h): Removed.
(docacheflush): Likewise.

18 years ago* configure.ac: Added host type `armv5l`.
edwin [Thu, 6 Apr 2006 00:33:47 +0000 (00:33 +0000)]
* configure.ac: Added host type `armv5l`.

18 years ago* src/vm/jit/parse.h, src/vm/jit/parse.c (OP1LOAD):
edwin [Wed, 5 Apr 2006 20:31:38 +0000 (20:31 +0000)]
* src/vm/jit/parse.h, src/vm/jit/parse.c (OP1LOAD):
Split into OP1LOAD_ONEWORD and OP1LOAD_TWOWORD. Index is only checked if
ENABLE_VERIFIER.
(OP1STORE): Split into OP1STORE_ONEWORD and OP1STORE_TWOWORD.  Index is
only checked if ENABLE_VERIFIER.

18 years ago* src/vm/jit/parse.c (parse): Cleaned up and reordered an if.
edwin [Wed, 5 Apr 2006 19:58:18 +0000 (19:58 +0000)]
* src/vm/jit/parse.c (parse): Cleaned up and reordered an if.

18 years ago* src/vm/jit/parse.c (parse): Remove the `if (!iswide)` check for each opcode
edwin [Wed, 5 Apr 2006 19:44:46 +0000 (19:44 +0000)]
* src/vm/jit/parse.c (parse): Remove the `if (!iswide)` check for each opcode
by making JAVA_WIDE continue directly to the label fetch_opcode. (This also
removed a part of the iswide check at the end of the loop.)

18 years ago* src/vm/jit/alpha/codegen.c (codegen, createnativestub): Remove
edwin [Wed, 5 Apr 2006 18:48:56 +0000 (18:48 +0000)]
* src/vm/jit/alpha/codegen.c (codegen, createnativestub): Remove
opt_verbosecall code for NDEBUG builds.

18 years ago* src/vm/jit/parse.c (parse): Only do verifier checks if ENABLE_VERIFIER.
edwin [Wed, 5 Apr 2006 18:13:18 +0000 (18:13 +0000)]
* src/vm/jit/parse.c (parse): Only do verifier checks if ENABLE_VERIFIER.
Cleaned up an obsolete printf.

18 years ago* configure.ac (ENABLE_RT_TIMING): Added.
edwin [Wed, 5 Apr 2006 12:56:43 +0000 (12:56 +0000)]
* configure.ac (ENABLE_RT_TIMING): Added.

* src/vm/jit/jit.c (ENABLE_RT_TIMING): Added code for real-time timing
of compiler passes.

* src/vm/jit/jit.h (jit_print_time_stats): Added.

* src/vm/vm.c (vm_exit_handler): Call jit_print_time_stats.

18 years ago* src/vm/jit/inline/inline.c (create_block): Use BASICBLOCK_INIT.
edwin [Wed, 5 Apr 2006 11:32:52 +0000 (11:32 +0000)]
* src/vm/jit/inline/inline.c (create_block): Use BASICBLOCK_INIT.

18 years ago* src/vm/jit/alpha/asmpart.S (asm_vm_call_method): Removed !NDEBUG as
twisti [Wed, 5 Apr 2006 10:02:14 +0000 (10:02 +0000)]
* src/vm/jit/alpha/asmpart.S (asm_vm_call_method): Removed !NDEBUG as
builtin_throw_exception actually posts the thrown exception to the VM
system.
* src/vm/jit/powerpc/asmpart.S: Likewise.
* src/vm/jit/mips/asmpart.S: Likewise.
* src/vm/jit/x86_64/asmpart.S: Likewise.

18 years ago* src/vm/jit/jit.h (instruction): Removed `method` field.
edwin [Wed, 5 Apr 2006 09:57:55 +0000 (09:57 +0000)]
* src/vm/jit/jit.h (instruction): Removed `method` field.
(insinfo_inline): Added.
(basicblock): Added `method` field.

* src/vm/jit/dseg.c (dseg_addlinenumber_inline_start)
(dseg_addlinenumber_inline_end): Use new insinfo_inline struct.

* src/vm/jit/verify/typecheck.c (verify_basic_block): Removed unused
variable `myclass`.

* src/vm/jit/inline/inline.c (emit_inlining_prolog, emit_inlining_epilog):
Use insinfo_inline struct.
(inline_write_exception_handlers): Removed `method` field.

* src/vm/jit/i386/codegen.c (codegen): Use insinfo_inline struct.

* src/vm/jit/parse.h (several macros): Removed `method` field from
instruction.

* src/vm/jit/stack.c (stack_show_icmd): Adapted to new insinfo_inline struct.

18 years agoFixes GCC Bugzilla Bug #26990.
twisti [Wed, 5 Apr 2006 09:54:33 +0000 (09:54 +0000)]
Fixes GCC Bugzilla Bug #26990.
* src/vm/vm.c (vm_exit): Don't check for exception of System.exit().

18 years ago* src/vm/builtin.c (builtin_throw_exception): No twisti, we don't turn off
edwin [Tue, 4 Apr 2006 21:31:52 +0000 (21:31 +0000)]
* src/vm/builtin.c (builtin_throw_exception): No twisti, we don't turn off
exceptions just because it is NDEBUG ;)
* src/vm/jit/i386/asmpart.S (asm_vm_call_method_exception_handler):
Likewise.

18 years ago* src/vm/jit/i386/Makefile.am: Do not build disassebmler for
edwin [Tue, 4 Apr 2006 18:14:55 +0000 (18:14 +0000)]
* src/vm/jit/i386/Makefile.am: Do not build disassebmler for
--disable-disassembler

18 years ago* src/vm/jit/i386/codegen.c (codegen): disable verbosecall code for NDEBUG
edwin [Tue, 4 Apr 2006 18:14:01 +0000 (18:14 +0000)]
* src/vm/jit/i386/codegen.c (codegen): disable verbosecall code for NDEBUG

18 years ago* src/vm/jit/ifconv/ifconv.c (ifconv_static): #ifdef debug code.
edwin [Tue, 4 Apr 2006 18:11:25 +0000 (18:11 +0000)]
* src/vm/jit/ifconv/ifconv.c (ifconv_static): #ifdef debug code.
(check): Likewise.

18 years ago* src/threads/native/threads.c (tablelock): Removed.
twisti [Tue, 4 Apr 2006 09:17:05 +0000 (09:17 +0000)]
* src/threads/native/threads.c (tablelock): Removed.
(tables_lock, tables_unlock): Likewise.
(criticalcompare): Removed tablelock initialization.
* src/vm/hashtable.h (tables_lock, tables_unlock): Removed.
* src/vm/global.h (VFTBLINTERFACETABLE): Likewise.
(cast_lock, cast_unlock): Likewise.

18 years ago* src/vm/exceptions.c (exceptions_new_nosuchmethoderror): Print
twisti [Tue, 4 Apr 2006 09:14:19 +0000 (09:14 +0000)]
* src/vm/exceptions.c (exceptions_new_nosuchmethoderror): Print
classname with dots.
(exceptions_handle_exception): Compiler warning fix.

18 years ago* src/vm/jit/verify/typeinfo.c (CLASSINFO_IMPLEMENTS_INTERFACE): Removed the
edwin [Tue, 4 Apr 2006 09:13:01 +0000 (09:13 +0000)]
* src/vm/jit/verify/typeinfo.c (CLASSINFO_IMPLEMENTS_INTERFACE): Removed the
single use of the macro VFTBLINTERFACETABLE

18 years ago* src/native/vm/VMClass.c: Reordered methods like in the
twisti [Tue, 4 Apr 2006 08:45:43 +0000 (08:45 +0000)]
* src/native/vm/VMClass.c: Reordered methods like in the
VMClass.java. This eases the 1.5 changes addition.

18 years ago* src/vm/jit/parse.c (parse): Removed obsolete variable
edwin [Tue, 4 Apr 2006 08:30:53 +0000 (08:30 +0000)]
* src/vm/jit/parse.c (parse): Removed obsolete variable
`skipBasicBlockChange`.

18 years ago* src/vm/jit/parse.c (parse): Removed obsolete variable `firstlocal`.
edwin [Tue, 4 Apr 2006 08:24:25 +0000 (08:24 +0000)]
* src/vm/jit/parse.c (parse): Removed obsolete variable `firstlocal`.
(Was used for the old inliner.)

18 years ago* src/vm/jit/powerpc/codegen.c (codegen): Changed signature to use
twisti [Mon, 3 Apr 2006 15:36:00 +0000 (15:36 +0000)]
* src/vm/jit/powerpc/codegen.c (codegen): Changed signature to use
jitdata. Renamed reg_of_var by codegen_reg_of_var.
* src/vm/jit/powerpc/codegen.h (M_COPY): Likewise.

18 years ago* src/vm/jit/powerpc/codegen.c (codegen): Renamed parentargs_base to
twisti [Mon, 3 Apr 2006 13:59:29 +0000 (13:59 +0000)]
* src/vm/jit/powerpc/codegen.c (codegen): Renamed parentargs_base to
stackframesize.
(codegen_trace_args): Likewise.

18 years ago* src/vm/jit/i386/codegen.c (codegen): Implemented inlining of synchronized
edwin [Sun, 2 Apr 2006 16:17:57 +0000 (16:17 +0000)]
* src/vm/jit/i386/codegen.c (codegen): Implemented inlining of synchronized
methods (INLINE_START, INLINE_END do monitorenter/exit).

18 years ago* src/vm/jit/inline/inline.c (inline_node): Added fields for inlining
edwin [Sun, 2 Apr 2006 16:16:18 +0000 (16:16 +0000)]
* src/vm/jit/inline/inline.c (inline_node): Added fields for inlining
synchronized methods.
(inline_context): Added `master` pointer to outermost caller. Added field
`calls_others`. (Leaf method detection should really be done after inlining).
(several methods): Implemented inlining of synchronized methods.
(inline_new_stackslot): Added.
(inline_write_exception_handlers): Added.

18 years ago* src/vm/jit/intrp/codegen.c (createcalljavafunction): Create codeinfo with
edwin [Sat, 1 Apr 2006 21:03:40 +0000 (21:03 +0000)]
* src/vm/jit/intrp/codegen.c (createcalljavafunction): Create codeinfo with
the right methodinfo pointer.

18 years ago* src/vm/jit/codegen-common.h (intrp_createnativestub): Takes a `jitdata *` now.
edwin [Sat, 1 Apr 2006 21:00:28 +0000 (21:00 +0000)]
* src/vm/jit/codegen-common.h (intrp_createnativestub): Takes a `jitdata *` now.

* src/vm/jit/intrp/codegen.c (intrp_codegen, intrp_createnativestub)
(createcalljavafunction): Use jitdata.

18 years ago* src/vm/jit/inline/inline.c, src/vm/jit/inline/inline_debug.c: Adapted to
edwin [Fri, 31 Mar 2006 12:38:33 +0000 (12:38 +0000)]
* src/vm/jit/inline/inline.c, src/vm/jit/inline/inline_debug.c: Adapted to
twisti's jitdata changes.

18 years ago* src/vm/jit/powerpc/asmpart.S (asm_vm_call_method): Replaced $stub
twisti [Fri, 31 Mar 2006 07:50:19 +0000 (07:50 +0000)]
* src/vm/jit/powerpc/asmpart.S (asm_vm_call_method): Replaced $stub
symbols with old symbols and define them for darwin in the
corresponding md-asm.h.
(asm_call_jit_compiler): Likewise.
(asm_wrapper_patcher): Likewise.
(asm_replacement_out): Likewise.
* src/vm/jit/powerpc/darwin/md-asm.h (builtin_asm_get_exceptionptrptr)
(builtin_throw_exception, exceptions_handle_exception, jit_compile)
(replace_me, stacktrace_create_extern_stackframeinfo)
(stacktrace_remove_stackframeinfo): Changed to $stub symbol.
(stacktrace_extern_fillInStackTrace): Removed.

* src/vm/jit/powerpc/linux/md-abi.c (regs): Added.

18 years ago* src/vm/jit/powerpc/patcher.c
twisti [Fri, 31 Mar 2006 07:14:10 +0000 (07:14 +0000)]
* src/vm/jit/powerpc/patcher.c
(patcher_checkcast_instanceof_interface): Compile fix (typo).

18 years ago* src/vm/jit/alpha/asmpart.S (vm/jit/abi.h): Changed to
twisti [Thu, 30 Mar 2006 12:01:50 +0000 (12:01 +0000)]
* src/vm/jit/alpha/asmpart.S (vm/jit/abi.h): Changed to
vm/jit/abi-asm.h.
* src/vm/jit/mips/asmpart.S: Likewise.
* src/vm/jit/i386/asmpart.S: Likewise.
* src/vm/jit/x86_64/asmpart.S: Likewise.

18 years ago* src/vm/jit/powerpc/codegen.c (codegen): Changed signature to use
twisti [Thu, 30 Mar 2006 11:59:46 +0000 (11:59 +0000)]
* src/vm/jit/powerpc/codegen.c (codegen): Changed signature to use
jitdata. Renamed reg_of_var by codegen_reg_of_var.
* src/vm/jit/powerpc/codegen.h (M_COPY): Likewise.

* src/vm/jit/powerpc/asmpart.S (vm/jit/abi.h): Changed to
vm/jit/abi-asm.h.
(asm_vm_call_method_exception_handler): Export it.
(asm_vm_call_method): Don't put label addresses into the
"data-segment", as it's located in the .text area and that may be
read-only. Changed to use PIC code. Linux stuff is still missing.

* src/vm/jit/powerpc/Makefile.am (DISASS_SOURCES): Added.
* src/vm/jit/powerpc/disass.c (regs): Removed.

18 years ago* src/vm/jit/ifconv/Makefile.am (AM_CPPFLAGS): Added OS_DIR.
twisti [Thu, 30 Mar 2006 10:26:39 +0000 (10:26 +0000)]
* src/vm/jit/ifconv/Makefile.am (AM_CPPFLAGS): Added OS_DIR.
(LIBS): Added.

18 years ago* src/vm/jit/Makefile.am (noinst_HEADERS): Added abi-asm.h.
twisti [Thu, 30 Mar 2006 10:23:11 +0000 (10:23 +0000)]
* src/vm/jit/Makefile.am (noinst_HEADERS): Added abi-asm.h.
* src/vm/jit/abi.h (vm/jit/abi-asm.h): Added.
(nregdescint, regs, nregdescfloat): Added.
* src/vm/jit/abi-asm.h: New file.
* src/vm/jit/reg.h (nregdescint, nregdescfloat): Removed.
* src/vm/jit/reg.c (vm/jit/abi.h): Added.
* src/vm/jit/replace.c: Likewise.
* src/vm/jit/allocator/lsra.c: Likewise.
* src/vm/jit/powerpc/darwin/md-asm.h
(asm_vm_call_method_exception_handler): Added.
* src/vm/jit/powerpc/darwin/md-abi.c (regs): Added.

18 years ago* src/vm/jit/codegen-common.c: Use ENABLE_DISASSEMBLER.
twisti [Thu, 30 Mar 2006 10:14:22 +0000 (10:14 +0000)]
* src/vm/jit/codegen-common.c: Use ENABLE_DISASSEMBLER.
* src/vm/jit/codegen-common.h: Likewise.
* src/vm/jit/stack.c: Likewise. Plus ENABLE_LSRA.
* src/vm/jit/disass.h: Likewise.
* src/vm/jit/jit.c: Likewise. Plus ENABLE_LOOP.

18 years ago* src/vm/jit/powerpc/patcher.c (patcher_invokevirtual): Use disp
twisti [Thu, 30 Mar 2006 10:10:07 +0000 (10:10 +0000)]
* src/vm/jit/powerpc/patcher.c (patcher_invokevirtual): Use disp
variable for code patching. This will ease the overflow code
comming.
(patcher_invokeinterface): Likewise.
(patcher_checkcast_instanceof_interface): Likewise.

18 years ago* src/vm/exceptions.c (exceptions_handle_exception): Check for special
twisti [Thu, 30 Mar 2006 09:52:49 +0000 (09:52 +0000)]
* src/vm/exceptions.c (exceptions_handle_exception): Check for special
* start/endpc-NULL case. This makes asmpart stuff much easier, like on
* Darwin or IRIX.

* src/vm/jit/asmpart.h (asm_vm_call_method_exception_handler): Added.

* src/vm/jit/alpha/asmpart.S (asm_vm_call_method_exception_handler): Export it.
(asm_vm_call_method): Don't put label addresses into the
"data-segment", as it's located in the .text area and that may be
read-only.
* src/vm/jit/i386/asmpart.S: Likewise.
* src/vm/jit/mips/asmpart.S: Likewise.
* src/vm/jit/x86_64/asmpart.S: Likewise.

18 years ago* src/vm/jit/mips/asmpart.S (asm_vm_call_method): Return NULL for
twisti [Thu, 30 Mar 2006 09:20:42 +0000 (09:20 +0000)]
* src/vm/jit/mips/asmpart.S (asm_vm_call_method): Return NULL for
exception.

18 years ago* configure.ac (opcodes): Check for disassembler symbol as
twisti [Thu, 30 Mar 2006 08:48:26 +0000 (08:48 +0000)]
* configure.ac (opcodes): Check for disassembler symbol as
init_disassemble_info isn't defined everywhere, like NetBSD.

18 years ago* src/vm/jit/powerpc/netbsd: New directory.
twisti [Wed, 29 Mar 2006 23:11:22 +0000 (23:11 +0000)]
* src/vm/jit/powerpc/netbsd: New directory.
* src/vm/jit/powerpc/netbsd/md-abi.h: New file.
* src/vm/jit/powerpc/netbsd/md-os.c: Likewise.
* src/vm/jit/powerpc/netbsd/md-asm.h: Likewise.
* src/vm/jit/powerpc/netbsd/Makefile.am: Likewise.
* src/vm/jit/powerpc/netbsd/md-abi.c: Likewise.
* src/vm/jit/powerpc/netbsd/.cvsignore: Likewise.
* configure.ac (host_os): Added NetBSD.
(AC_CONFIG_FILES): Added src/vm/jit/powerpc/netbsd/Makefile.

18 years ago* tests/regression/codepatching/test.java: Made functions static
twisti [Tue, 28 Mar 2006 15:43:15 +0000 (15:43 +0000)]
* tests/regression/codepatching/test.java: Made functions static
final.
  --This line, and those below, will be ignored--

M    test.java

18 years ago* src/vm/jit/i386/codegen.c (codegen): Changed signature to use
twisti [Tue, 28 Mar 2006 15:41:58 +0000 (15:41 +0000)]
* src/vm/jit/i386/codegen.c (codegen): Changed signature to use
jitdata. Renamed reg_of_var by codegen_reg_of_var.
* src/vm/jit/i386/codegen.h (M_COPY): Likewise.

18 years ago* configure.ac (AC_CONFIG_FILES): Added src/vm/jit/ifconv/Makefile.
twisti [Tue, 28 Mar 2006 15:14:13 +0000 (15:14 +0000)]
* configure.ac (AC_CONFIG_FILES): Added src/vm/jit/ifconv/Makefile.

18 years ago* src/vm/jit/Makefile.am (DIST_SUBDIRS): Added ifconv.
twisti [Tue, 28 Mar 2006 15:10:43 +0000 (15:10 +0000)]
* src/vm/jit/Makefile.am (DIST_SUBDIRS): Added ifconv.
* src/vm/jit/ifconv: New directory.
* src/vm/jit/ifconv/ifconv.c: New file.
* src/vm/jit/ifconv/Makefile.am: Likewise.
* src/vm/jit/ifconv/ifconv.h: Likewise.
* src/vm/jit/ifconv/.cvsignore: Likewise.

18 years ago* src/vm/method.h (vm/jit/code.h): Added.
twisti [Tue, 28 Mar 2006 14:52:32 +0000 (14:52 +0000)]
* src/vm/method.h (vm/jit/code.h): Added.
(codeinfo, rplpoint, executionstate, sourcestate): typedef's removed.

* src/vm/jit/codegen-common.c (codegendata): Removed code.
(codegen_setup, codegen_finish, createnativestub, codegen)
(intrp_codegen): Changed signature to use jitdata.
(reg_of_var): Renamed to codegen_reg_of_var. Changed signature.
(codegen_free): Removed.
* src/vm/jit/codegen-common.h: Likewise.

* src/vm/jit/stack.c (lock_show_icmd): Renamed to
lock_stack_show_icmd.
(analyse_stack): Renamed to stack_analyse. Changed signature to use
jitdata.
(ICMD_IF_ICMPxx): Make ICMD_IFxx last instruction in basic block. This
is required for if-conversion.
(stack_print): Renamed to stack_print_stack.
(show_icmd_method): Renamed to stack_show_method. Changed signature to
use jitdata.
(show_icmd_block): Renamed to stack_show_basicblock. Changed signature
to use jitdata.
(show_icmd): Renamed to stack_show_icmd.
* src/vm/jit/stack.h: Likewise.

* src/vm/jit/code.h (codeinfo): Added typedef.

* src/vm/jit/dseg.c (assert.h): Moved.
(dseg_resolve_datareferences, dseg_display): Changed signature to use
jitdata.
* src/vm/jit/dseg.h: Likewise.

* src/vm/jit/verify/typecheck.c (typecheck): Changed signature to use
jitdata.
* src/vm/jit/verify/typecheck.h: Likewise.

* src/vm/jit/loop/loop.c (analyseGraph): Changed signature to use
jitdata.
* src/vm/jit/loop/loop.h: Likewise.
* src/vm/jit/loop/graph.c (depthFirst): Likewise.
* src/vm/jit/loop/graph.h: Likewise.
* src/vm/jit/loop/analyze.c (optimize_loops): Likewise.
* src/vm/jit/loop/analyze.h: Likewise.
* src/vm/jit/allocator/lsra.c (lsra): Likewise.
* src/vm/jit/allocator/lsra.h: Likewise.
* src/vm/jit/allocator/simplereg.c (interface_regalloc)
(local_regalloc,allocate_scratch_registers): Likewise.
* src/vm/jit/allocator/simplereg.h: Likewise.
* src/vm/jit/parse.c (parse): Likewise.
* src/vm/jit/replace.c (replace_create_replacement_points): Likewise.
* src/vm/jit/intrp/codegen.c (intrp_codegen): Likewise.
* src/vm/jit/reg.c (reg_setup): Likewise.
* src/vm/jit/reg.h: Likewise.

* src/vm/jit/jit.c (jit_compile): Use new function signatures and
jitdata structure.
(jit_compile_intern): Changed signature to use jitdata.
* src/vm/jit/jit.h (jitdata): Added.
(ICMD_OPCODE_MASK): Likewise.
(ICMD_CONDITION_MASK): Likewise.

* src/vm/jit/replace.h (rplpoint, executionstate, sourcestate):
typedef's added.
(replace_create_replacement_points): Changed signature to use jitdata.

* src/vm/jit/parse.h (INDEX_ONEWORD, INDEX_TWOWORD): Use goto.
(parse): Changed signature to use jitdata.

18 years ago* src/vm/jit/x86_64/md.c (md_signal_handler_sigsegv)
twisti [Tue, 28 Mar 2006 14:31:53 +0000 (14:31 +0000)]
* src/vm/jit/x86_64/md.c (md_signal_handler_sigsegv)
(md_signal_handler_sigfpe): Comment changes.

18 years ago* src/vm/jit/i386/codegen.c (createnativestub): Replaced _exceptionptr
twisti [Tue, 28 Mar 2006 14:30:49 +0000 (14:30 +0000)]
* src/vm/jit/i386/codegen.c (createnativestub): Replaced _exceptionptr
by _no_threads_exceptionptr.

18 years ago* NEWS: Added upcoming 0.96 release. Added miranda-methods fix.
twisti [Tue, 28 Mar 2006 14:22:03 +0000 (14:22 +0000)]
* NEWS: Added upcoming 0.96 release. Added miranda-methods fix.

18 years ago* src/tests/regression/native/checkjni.c (PushLocalFrame): New method.
twisti [Tue, 28 Mar 2006 14:21:14 +0000 (14:21 +0000)]
* src/tests/regression/native/checkjni.c (PushLocalFrame): New method.
* src/tests/regression/native/checkjni.java (PushLocalFrame):
Likewise.
(equal(int,int)): Likewise.
* src/tests/regression/native/Makefile.am (NOTESTNAMES): Added.

18 years ago* src/vm/jit/x86_64/codegen.c (codegen): Renamed parentargs_base to
twisti [Tue, 28 Mar 2006 11:54:41 +0000 (11:54 +0000)]
* src/vm/jit/x86_64/codegen.c (codegen): Renamed parentargs_base to
stackframesize.
* tests/regression/extest.2output: Updated.

18 years ago* src/vm/Makefile.am (noinst_LTLIBRARIES): Reformatted.
twisti [Tue, 28 Mar 2006 10:42:04 +0000 (10:42 +0000)]
* src/vm/Makefile.am (noinst_LTLIBRARIES): Reformatted.

18 years ago* src/native/vm/VMClassLoader.c (loadClass): Smaller changes.
twisti [Tue, 28 Mar 2006 10:21:40 +0000 (10:21 +0000)]
* src/native/vm/VMClassLoader.c (loadClass): Smaller changes.

18 years ago* src/native/native.c (dummynativetable): Renamed getModifiers
twisti [Tue, 28 Mar 2006 09:41:33 +0000 (09:41 +0000)]
* src/native/native.c (dummynativetable): Renamed getModifiers
functions to getModifiersInternal due to GNU Classpath VM interface
changes.
* src/native/vm/Constructor.c (getModifiers): Renamed to
getModifiersInternal.
* src/native/vm/Field.c (getModifiers): Likewise.
* src/native/vm/Method.c (getModifiers): Likewise.

18 years ago* src/vm/class.c: Don't initialize classes to NULL.
twisti [Mon, 27 Mar 2006 11:37:46 +0000 (11:37 +0000)]
* src/vm/class.c: Don't initialize classes to NULL.

* src/vm/loader.c (loader_load_all_classes): Added NDEBUG.
* src/vm/builtin.c (builtin_new): Likewise.
* src/vm/jit/codegen-common.c (codegen_createnativestub): Likewise.
(codegen_disassemble_nativestub): Likewise.
* src/vm/jit/codegen-common.h (codegen_disassemble_nativestub):
Likewise.
* src/vm/jit/stack.c (stack_print): Likewise.
* src/vm/jit/stack.h (stack_print, show_icmd_method, show_icmd_block)
(show_icmd): Likewise.
* src/vm/exceptions.c (exceptions_handle_exception): Likewise.
* src/vm/linker.c (link_class_intern): Likewise.
* src/cacao/cacao.c (main): Likewise.

* src/vm/jit/x86_64/codegen.c: Likewise.
* src/vm/jit/x86_64/asmpart.S (asm_vm_call_method): Likewise.
* src/vm/jit/x86_64/Makefile.am (DISASS_SOURCES): Added. Put into
ENABLE_DISASSEMBLER.

* src/vm/jit/jit.c (jit_compile_intern): Added ENABLE_LOOP.
* src/vm/vm.c (vm_create): Added ENABLE_PROFILING.
(vm_exit_handler): Likewise.

* configure.ac (AC_ENABLE_SHARED, AC_DISABLE_STATIC): Removed. Set it
manually.
(EXPORT_SYMBOLS_FLAGS): Removed.
(--enable-disassembler): Added.
(--ensable-loop): Likewise.
(--ensable-profiling): Likewise.
(--ensable-libjvm): Likewise.
(--ensable-inlining): Moved.

* src/vm/jit/Makefile.am (LOOP_LIB): Added. Put into ENABLE_LOOP.
(PROFILE_LIB): Put into ENABLE_PROFILING.
* src/cacao/Makefile.am (cacao_LDFLAGS): Use -export-dynamic and let
libtool do the work. Add -all-static for ENABLE_STATICVM.

* src/lib/Makefile.am: Made it -j aware.

* src/vm/resolve.c (config.h, vm/global.h): Added.
* src/vm/classcache.c (config.h): Moved to top.

* src/vm/exceptions.h: Small change.