edwin [Mon, 28 Nov 2005 16:23:40 +0000 (16:23 +0000)]
* renamed CACAO_TYPECHECK to ENABLE_VERIFIER
* srv/vm/resolve.c, src/vm/resolve.h: #ifdef code only used for verification
with ENABLE_VERIFIER. (Access checks and loading constraints are
also #ifdef ENABLE_VERIFIER. This might be controversial.)
edwin [Sun, 27 Nov 2005 14:11:44 +0000 (14:11 +0000)]
* classcache.c: removed splint /*@...@*/ annotations
* classcache.c: converted declarations to twisti style
* classcache_free: declare void arguments
edwin [Sun, 27 Nov 2005 13:52:23 +0000 (13:52 +0000)]
* classcache_store: fix: do not replace class if it is the same classinfo*
edwin [Sat, 26 Nov 2005 22:28:43 +0000 (22:28 +0000)]
* defineClass: check if class has already been defined _or initiated_
* classcache_lookup_defined_or_initiated: added
* classcache.h: removed redundant comments
* classcache.c: cleaned up "!= NULL" that were added for splint
edwin [Sat, 26 Nov 2005 21:51:11 +0000 (21:51 +0000)]
* added exceptions_new_linkageerror
* use it where appropriate
* throw a LinkageError on redefinition of a class by the same classloader
twisti [Sat, 26 Nov 2005 21:45:09 +0000 (21:45 +0000)]
* load_class_from_classloader: Store array classes also in the classcache.
* Removed verbose loader stuff.
twisti [Sat, 26 Nov 2005 21:40:54 +0000 (21:40 +0000)]
* classinfo: classvftbl removed.
twisti [Sat, 26 Nov 2005 19:23:19 +0000 (19:23 +0000)]
* use_class_as_object removed, link_class added where required.
twisti [Sat, 26 Nov 2005 19:18:33 +0000 (19:18 +0000)]
* linker_init: Link java.lang.Class first and then call
class_postset_header_vftbl, which postsets the header.vftbl.
* link_class_intern: Don't set header.vftbl to vftbl.
twisti [Sat, 26 Nov 2005 19:17:04 +0000 (19:17 +0000)]
* class_create_classinfo: Set header.vftbl to the vftbl of java.lang.Class
when already loaded and linked.
* class_postset_header_vftbl: Added.
twisti [Sat, 26 Nov 2005 19:15:45 +0000 (19:15 +0000)]
* use_class_as_object removed, link_class added where required.
twisti [Sat, 26 Nov 2005 19:13:42 +0000 (19:13 +0000)]
* asm_call_jit_compiler: Removed.
* asm_builtin_f2i, asm_builtin_f2l, asm_builtin_d2i, asm_builtin_d2l:
Likewise.
* use_class_as_object: Removed.
twisti [Sat, 26 Nov 2005 15:57:19 +0000 (15:57 +0000)]
* store_reg_to_var_int0: Removed.
* store_reg_to_var_lng, store_reg_to_var_adr, store_reg_to_var_flt,
store_reg_to_var_dbl: Added.
twisti [Sat, 26 Nov 2005 15:56:29 +0000 (15:56 +0000)]
* signal_handler_sigsegv: Changed functionptr to u1*.
twisti [Sat, 26 Nov 2005 15:56:07 +0000 (15:56 +0000)]
* Nothing important, removed spaces, add empty lines.
twisti [Fri, 25 Nov 2005 11:31:01 +0000 (11:31 +0000)]
* PACK_REGS, GET_LOW_REG, GET_HIGH_REG: Changed packing order of low/high,
this ways it's more "natural" and we can always call GET_LOW_REG even
when the register is not packed.
twisti [Thu, 24 Nov 2005 00:53:23 +0000 (00:53 +0000)]
* Changed version to 0.93+cvs.
unknown [Thu, 24 Nov 2005 00:26:18 +0000 (00:26 +0000)]
This commit was manufactured by cvs2svn to create tag
'cacao-0_93-release'.
twisti [Thu, 24 Nov 2005 00:26:18 +0000 (00:26 +0000)]
* Updated to 0.93.
twisti [Thu, 24 Nov 2005 00:21:05 +0000 (00:21 +0000)]
* Changed version to 0.93.
twisti [Wed, 23 Nov 2005 23:16:29 +0000 (23:16 +0000)]
* Renamed checkall to check.
twisti [Wed, 23 Nov 2005 23:16:14 +0000 (23:16 +0000)]
* EXTRA_DIST: Added with java.vmg.
twisti [Wed, 23 Nov 2005 22:55:56 +0000 (22:55 +0000)]
* EXTRA_DIST: Added Test.sh.
twisti [Wed, 23 Nov 2005 22:55:39 +0000 (22:55 +0000)]
* EXTRA_DIST: Added prop.java.
twisti [Wed, 23 Nov 2005 22:55:19 +0000 (22:55 +0000)]
* Updated.
twisti [Wed, 23 Nov 2005 22:49:44 +0000 (22:49 +0000)]
* EXTRA_DIST: Typo.
twisti [Wed, 23 Nov 2005 22:40:18 +0000 (22:40 +0000)]
* gen_inst: Use lastmcodeptr instead of last_compiled.
twisti [Wed, 23 Nov 2005 22:39:49 +0000 (22:39 +0000)]
* vm/types.h: Added.
* MCODECHECK: Use lastmcodeptr instead of last_compiled.
edwin [Wed, 23 Nov 2005 22:39:20 +0000 (22:39 +0000)]
* (cacao.1): fix typo
twisti [Wed, 23 Nov 2005 22:39:16 +0000 (22:39 +0000)]
* gen_BBSTART: Use lastmodeptr instead of last_compiled.
* createcalljavafunction: Changed return type from
functionptr to u1*.
twisti [Wed, 23 Nov 2005 22:38:24 +0000 (22:38 +0000)]
* createcompilerstub, createnativestub: Changed return type from
functionptr to u1*.
twisti [Wed, 23 Nov 2005 22:37:53 +0000 (22:37 +0000)]
* libintrp_la_SOURCES: Added *.i files.
* BUILT_SOURCES: Removed.
twisti [Wed, 23 Nov 2005 22:36:59 +0000 (22:36 +0000)]
* Use codegen_findmethod for intrp and md_codegen_findmethod for jit.
twisti [Wed, 23 Nov 2005 22:36:14 +0000 (22:36 +0000)]
* codegendata: Removed last_compiled for intrp and use lastmcodeptr
instead.
twisti [Wed, 23 Nov 2005 22:34:54 +0000 (22:34 +0000)]
* EXTRA_DIST: Added hello.java.
twisti [Wed, 23 Nov 2005 22:33:55 +0000 (22:33 +0000)]
* EXTRA_DIST: Added with all files.
twisti [Wed, 23 Nov 2005 22:33:20 +0000 (22:33 +0000)]
* EXTRA_DIST: Added libtool-version.
twisti [Wed, 23 Nov 2005 21:47:11 +0000 (21:47 +0000)]
* Removed duplicate stuff that slipped in when added alpha-freebsd support.
edwin [Wed, 23 Nov 2005 21:43:40 +0000 (21:43 +0000)]
* (cacao.1): use .BR again. The problem on IRIX was the 6-argument limitation.
We currently do not care about that.
twisti [Wed, 23 Nov 2005 21:36:35 +0000 (21:36 +0000)]
* Added alpha-freebsd support.
twisti [Wed, 23 Nov 2005 21:35:51 +0000 (21:35 +0000)]
* src/vm/jit/alpha/freebsd/Makefile, src/vm/jit/alpha/linux/Makefile:
Added.
edwin [Wed, 23 Nov 2005 21:29:44 +0000 (21:29 +0000)]
* (cacao.1): IRIX does not seem to like the .BR macro, so we avoid it.
edwin [Wed, 23 Nov 2005 21:17:19 +0000 (21:17 +0000)]
* (cacao.1): updated the manpage
twisti [Wed, 23 Nov 2005 15:05:59 +0000 (15:05 +0000)]
* noinst_HEADERS: Added methodheader.h and disass.h.
twisti [Wed, 23 Nov 2005 15:05:22 +0000 (15:05 +0000)]
* EXTRA_DIST: Added configure.host.
twisti [Wed, 23 Nov 2005 15:04:53 +0000 (15:04 +0000)]
* EXTRA_DIST: Added all java files.
twisti [Wed, 23 Nov 2005 14:41:16 +0000 (14:41 +0000)]
* asmoffsets.h, disass.h: Removed if missed before.
twisti [Wed, 23 Nov 2005 14:40:36 +0000 (14:40 +0000)]
* jctest, fptest, fp, extest: Removed.
twisti [Wed, 23 Nov 2005 14:40:12 +0000 (14:40 +0000)]
* Removed, most of them are now regression tests.
twisti [Wed, 23 Nov 2005 12:54:34 +0000 (12:54 +0000)]
* ICMD_xASTORE: Moved var_to_reg_xxx directly before actual store, this
makes life much easier on mips32.
* ICMD_{I,L,A}ASTORECONST: Use M_xST_INTERN macro as the offset will not
overflow.
twisti [Wed, 23 Nov 2005 12:31:43 +0000 (12:31 +0000)]
* ICMD_xALOAD: Use REG_ITMP3 register to calculate the base address, this
is necessary on mips32.
twisti [Wed, 23 Nov 2005 11:56:47 +0000 (11:56 +0000)]
* ICMD_GETFIELD: Check if a destination register is equals the source
register for long type.
twisti [Wed, 23 Nov 2005 00:47:27 +0000 (00:47 +0000)]
* signal_handler_sigsegv, signal_handler_sigfpe: Replaced functionptr with
u1*.
twisti [Wed, 23 Nov 2005 00:46:54 +0000 (00:46 +0000)]
* md_stacktrace_get_returnaddress: Changed return type from functionptr to
u1*.
* md_codegen_findmethod: Added.
twisti [Wed, 23 Nov 2005 00:46:19 +0000 (00:46 +0000)]
* createcompilerstub, createnativestub: Changed return type from
functionptr to u1*.
twisti [Wed, 23 Nov 2005 00:21:56 +0000 (00:21 +0000)]
* signal_handler_sigsegv: Use u1* instead of functionptr.
twisti [Wed, 23 Nov 2005 00:21:14 +0000 (00:21 +0000)]
* md_stacktrace_get_returnaddress: Use u1* instead of functionptr.
* codegen_findmethod: Renamed to md_codegen_findmethod.
twisti [Wed, 23 Nov 2005 00:20:13 +0000 (00:20 +0000)]
* createcompilerstub, createnativestub: Changed return type from
functionptr to u1*.
twisti [Wed, 23 Nov 2005 00:06:39 +0000 (00:06 +0000)]
* Made most functions private.
twisti [Wed, 23 Nov 2005 00:05:04 +0000 (00:05 +0000)]
* md_stacktrace_get_returnaddress: Use u1* instead of functionptr.
* codegen_findmethod: Renamed to md_codegen_findmethod.
twisti [Wed, 23 Nov 2005 00:03:54 +0000 (00:03 +0000)]
* createcompilerstub, createnativestub: Changed return type from
functionptr to u1*.
twisti [Tue, 22 Nov 2005 23:54:41 +0000 (23:54 +0000)]
* createcompilerstub, createnativestub: Changed return type from
functionptr to u1*.
twisti [Tue, 22 Nov 2005 23:47:28 +0000 (23:47 +0000)]
* signal_handler_sigsegv, signal_handler_sigfpe: Replaced functionptr with
u1*.
* md_stacktrace_get_returnaddress: Changed return type from functionptr to
u1*.
* md_codegen_findmethod: Added.
twisti [Tue, 22 Nov 2005 23:46:22 +0000 (23:46 +0000)]
* config.h: Added.
* Some code reformatting.
twisti [Tue, 22 Nov 2005 23:45:51 +0000 (23:45 +0000)]
* createcompilerstub, createnativestub: Changed return type from
functionptr to u1*.
twisti [Tue, 22 Nov 2005 23:45:10 +0000 (23:45 +0000)]
* asm_builtin_arraycheckcast: Removed global.
twisti [Tue, 22 Nov 2005 23:43:53 +0000 (23:43 +0000)]
* Changed functionptr to u1*.
twisti [Tue, 22 Nov 2005 23:42:43 +0000 (23:42 +0000)]
* do_nothing_function, jit_compile, jit_compile_intern: Changed return type
from functionptr to u1*.
twisti [Tue, 22 Nov 2005 23:41:34 +0000 (23:41 +0000)]
* methodinfo: Changed functionptr to u1*.
twisti [Tue, 22 Nov 2005 23:40:30 +0000 (23:40 +0000)]
* patcher_builtin_new, patcher_builtin_newarray,
patcher_builtin_arrayinstanceof: Removed.
* asm_builtin_idiv, asm_builtin_irem, asm_builtin_ldiv, asm_builtin_lrem:
Likewise.
* asm_builtin_monitorenter, asm_builtin_monitorexit: Likewise.
* asm_builtin_arraycheckcast: Likewise.
* setVMClassField: Likewise.
* Changed functionptr to u1*.
twisti [Tue, 22 Nov 2005 23:07:41 +0000 (23:07 +0000)]
* Replaced functionptr with u1*.
* Call md_codegen_findmethod instead of codegen_findmethod.
twisti [Tue, 22 Nov 2005 23:06:26 +0000 (23:06 +0000)]
* Added defined(DISABLE_GC) to methodtree stuff so we allocate the same
amount of memory for -verbosecall compares.
* md_codegen_findmethod: Added.
twisti [Tue, 22 Nov 2005 23:05:51 +0000 (23:05 +0000)]
* Added defined(DISABLE_GC) to methodtree stuff so we allocate the same
amount of memory for -verbosecall compares.
* codegen_start_native_call: Replaced functionptr with u1*.
twisti [Tue, 22 Nov 2005 23:04:38 +0000 (23:04 +0000)]
* md_init: Removed #if 0 from ieee_set_fp_control but it does not fix the
floating point problems.
* signal_handler_sigsegv: Use u1* instead of functionptr.
* md_stacktrace_get_returnaddress: Likewise.
* codegen_findmethod: Renamed to md_codegen_findmethod.
twisti [Tue, 22 Nov 2005 22:55:16 +0000 (22:55 +0000)]
* codegen_start_native_call, codegen_finish_native_call: Added.
christian [Tue, 22 Nov 2005 22:47:00 +0000 (22:47 +0000)]
added name to Changes:
twisti [Tue, 22 Nov 2005 22:32:30 +0000 (22:32 +0000)]
* compile_all_class_methods: Removed.
christian [Tue, 22 Nov 2005 22:21:20 +0000 (22:21 +0000)]
Fix for dependence conflict regarding ICMD_DUP* and locals
christian [Tue, 22 Nov 2005 21:32:20 +0000 (21:32 +0000)]
fix for ICMD_DUP*
christian [Tue, 22 Nov 2005 14:36:16 +0000 (14:36 +0000)]
Changes for Usage Count and spill heuristik
twisti [Tue, 22 Nov 2005 11:39:17 +0000 (11:39 +0000)]
* Removed __INTRP__ define.
twisti [Tue, 22 Nov 2005 11:38:59 +0000 (11:38 +0000)]
* md-abi.h: Removed.
twisti [Tue, 22 Nov 2005 11:38:12 +0000 (11:38 +0000)]
* Renamed __INTRP__ to ENABLE_INTRP which is defined during configure run.
twisti [Tue, 22 Nov 2005 00:14:44 +0000 (00:14 +0000)]
* createnativestub: Fixed wrong compare value to xxx_ARG_CNT value, this
caused unsaved arguments.
twisti [Mon, 21 Nov 2005 22:01:57 +0000 (22:01 +0000)]
* asm_wrapper_patcher: Fixed two typos for powerpc-linux.
twisti [Mon, 21 Nov 2005 21:38:44 +0000 (21:38 +0000)]
* asm_calljavafunction: Fixed darwin -O2 compilation, we forgot to save
r16 (itmp3).
* asm_calljavafunction2: Likewise.
* asm_wrapper_patcher: Also save temporary registers, required for leaf
methods.
twisti [Mon, 21 Nov 2005 20:59:53 +0000 (20:59 +0000)]
* Added a comment about r2.
edwin [Mon, 21 Nov 2005 19:59:12 +0000 (19:59 +0000)]
* analyse_stack: allocate a dummy stack slot for ICMD_IINC to keep ISTORE
from incorrectly creating a LOCALVAR on the stack although
IINC changed the variable.
* jit_init: reserve a stack slot for IINC
christian [Sun, 20 Nov 2005 13:22:51 +0000 (13:22 +0000)]
Removed lsra fallback in case of subroutines or exception handlers
Nesting depth calculation improvements
Usage count really considered by lsra
christian [Sun, 20 Nov 2005 13:21:18 +0000 (13:21 +0000)]
Removed lsra fallback in case of subroutines or exception handlers
christian [Sun, 20 Nov 2005 13:21:02 +0000 (13:21 +0000)]
Removed obsolete output of reserved Register usage
edwin [Sat, 19 Nov 2005 03:10:38 +0000 (03:10 +0000)]
* src/vm/jit/mips/codegen.c, src/vm/jit/alpha/codegen.c:
added my name to the 'Changes' list
edwin [Sat, 19 Nov 2005 02:04:39 +0000 (02:04 +0000)]
* codegen: generalize bugfix for IFNE_ICONST to other IF??_ICONST instructions
edwin [Sat, 19 Nov 2005 02:02:53 +0000 (02:02 +0000)]
* codegen: generalize IFNE_ICONST bugfix to other IF??_ICONST instructions
edwin [Sat, 19 Nov 2005 01:59:07 +0000 (01:59 +0000)]
* codegen: bugfix for IFNE_ICONST: prevent overwriting of temp register for
values that do not fit in a byte (same fix as on alpha)
edwin [Sat, 19 Nov 2005 01:57:23 +0000 (01:57 +0000)]
* codegen: bugfix for IFNE_ICONST: prevent overwriting of temp register
for constants that do not fit in a byte
twisti [Fri, 18 Nov 2005 00:57:45 +0000 (00:57 +0000)]
* Regenerated.
twisti [Fri, 18 Nov 2005 00:57:20 +0000 (00:57 +0000)]
* Java 1.5 support changes.
twisti [Fri, 18 Nov 2005 00:54:55 +0000 (00:54 +0000)]
* PATCHER_CALL_SIZE: Defined.
twisti [Fri, 18 Nov 2005 00:54:08 +0000 (00:54 +0000)]
* nativevcall: Local references table changes.