twisti [Tue, 20 Dec 2005 21:45:02 +0000 (21:45 +0000)]
* Cacao's builders should only be run when certain resources change. This
patch gives an approximate set and prevents cacao from being rebuilt
when classpath is changed.
twisti [Tue, 20 Dec 2005 21:13:10 +0000 (21:13 +0000)]
* ICMD_PUTSTATICCONST, ICMD_PUTFIELDCONST: Removed, they are not generated
in stack for intrp.
twisti [Tue, 20 Dec 2005 21:10:10 +0000 (21:10 +0000)]
* This fixes a bug in the eclipse builder cacao configuration location.
edwin [Tue, 20 Dec 2005 20:39:09 +0000 (20:39 +0000)]
* src/vm/jit/i386/codegen.c: fixed DUP2_X1 instruction, a "->prev" was missing
edwin [Tue, 20 Dec 2005 12:59:22 +0000 (12:59 +0000)]
* resolve_method: impose loading constraints on loader of container instead
of declarer of the method. This fixes incorrect constraints on the
'this' parameter. (For other parameters it makes no difference.)
twisti [Tue, 13 Dec 2005 01:39:27 +0000 (01:39 +0000)]
* asm_handle_exception: Renamed to intrp_asm_handle_exception.
twisti [Tue, 13 Dec 2005 01:32:35 +0000 (01:32 +0000)]
* Define options as an enum.
twisti [Tue, 13 Dec 2005 01:32:02 +0000 (01:32 +0000)]
* Define options in an enum.
* OPT_NO_REPLICATION, opt_no_replication: Added.
twisti [Tue, 13 Dec 2005 01:31:14 +0000 (01:31 +0000)]
* opt_no_replication: Added.
* OPT_ERROR, OPT_IGNORE: Defined negative since the other options are an
enum.
twisti [Mon, 12 Dec 2005 13:23:10 +0000 (13:23 +0000)]
profiling stuff for static superinstructions
twisti [Mon, 12 Dec 2005 13:21:59 +0000 (13:21 +0000)]
added stuff for generating static superinstructions
twisti [Sun, 11 Dec 2005 14:06:03 +0000 (14:06 +0000)]
* Make it work with non-gnu make.
twisti [Sun, 11 Dec 2005 01:06:16 +0000 (01:06 +0000)]
* Replaced ENABLE_DEBUG with NDEBUG.
twisti [Sun, 11 Dec 2005 00:02:35 +0000 (00:02 +0000)]
* ZLIB_OBJ: Removed unzip.[ch], added zip.[ch].
twisti [Sun, 11 Dec 2005 00:00:10 +0000 (00:00 +0000)]
* nativeGetResources: New zip code changes.
twisti [Sat, 10 Dec 2005 23:59:04 +0000 (23:59 +0000)]
* main: Added suck_add.
twisti [Sat, 10 Dec 2005 23:58:29 +0000 (23:58 +0000)]
* Rewrite of bootstrap ZIP handling code, now uses hashtables, this speeds
up VM startup and other stuff quite noticeable.
twisti [Sat, 10 Dec 2005 23:55:49 +0000 (23:55 +0000)]
* utf_new: Removed debugging code.
anton [Fri, 9 Dec 2005 17:35:06 +0000 (17:35 +0000)]
converted java.vmg to use new "..." feature of vmgen
twisti [Fri, 9 Dec 2005 15:24:03 +0000 (15:24 +0000)]
* main (compileall): Don't print the method if class linking fails.
twisti [Fri, 9 Dec 2005 15:10:04 +0000 (15:10 +0000)]
* signal_handler_sigsegv: Use u1* instead of functionptr.
twisti [Fri, 9 Dec 2005 15:09:13 +0000 (15:09 +0000)]
* exceptions_handle_exception: Special handling of monitorexit object for
MIPS32.
twisti [Fri, 9 Dec 2005 14:39:10 +0000 (14:39 +0000)]
* vm/jit/mips/md-abi.h, vm/jit/abi.h: Added.
* asm_handle_exception: Major rewrite.
* More code cleanup in other functions.
twisti [Fri, 9 Dec 2005 14:32:46 +0000 (14:32 +0000)]
* codegen: Don't set cd->mcodeend (now done in codegen_setup), faster code
for static monitorenter.
twisti [Fri, 9 Dec 2005 14:30:12 +0000 (14:30 +0000)]
* asll: Added.
twisti [Fri, 9 Dec 2005 11:32:47 +0000 (11:32 +0000)]
* Added MIPS32 stuff.
twisti [Fri, 9 Dec 2005 01:14:29 +0000 (01:14 +0000)]
* builtin_monitorexit, builtin_trace_exception, initialize_class,
link_class, load_class_bootstrap: Removed.
* exceptions_handle_exception: Added.
twisti [Fri, 9 Dec 2005 00:42:56 +0000 (00:42 +0000)]
* vm/jit/abi.h: Added.
* asm_handle_exception: Major rewrite.
* More code cleanup in other functions (still some stuff left).
twisti [Fri, 9 Dec 2005 00:41:56 +0000 (00:41 +0000)]
* codegen: Don't set cd->mcodeend (now done in codegen_setup), faster code
for static monitorenter.
twisti [Thu, 8 Dec 2005 23:17:21 +0000 (23:17 +0000)]
* builtintable_internal: Added some #ifdef DISABLE_GC to get equal
addresses in call trace.
twisti [Thu, 8 Dec 2005 23:15:26 +0000 (23:15 +0000)]
* vm/jit/alpha/md-abi.h, vm/jit/alpha/md-asm.h, vm/jit/abi.h: Added.
* asm_handle_exception: Major rewrite.
* More code cleanup in other functions (still some stuff left).
twisti [Thu, 8 Dec 2005 23:12:01 +0000 (23:12 +0000)]
* codegen: Don't set cd->mcodeend (now done in codegen_setup), faster code
for static monitorenter.
twisti [Thu, 8 Dec 2005 23:10:19 +0000 (23:10 +0000)]
* SAVE_TEMPORARY_REGISTERS, RESTORE_TEMPORARY_REGISTERS: Fixed float
registers.
* Smaller define changes.
twisti [Thu, 8 Dec 2005 23:09:25 +0000 (23:09 +0000)]
* Removed trailing spaces.
twisti [Thu, 8 Dec 2005 23:08:47 +0000 (23:08 +0000)]
* builtin_trace_exception: Removed options check.
twisti [Thu, 8 Dec 2005 23:07:57 +0000 (23:07 +0000)]
* exceptions_handle_exception: Check options for builtin_trace_exception.
twisti [Thu, 8 Dec 2005 20:31:33 +0000 (20:31 +0000)]
* codegendata: Removed $ifdef's from mcodeptr.
twisti [Thu, 8 Dec 2005 16:29:33 +0000 (16:29 +0000)]
* vm/jit/abi.h, vm/jit/i386/md-abi.h, vm/jit/i386/md-asm.h: Includes added.
* asm_handle_exception: Save temporary register, they may be used in leaf
functions or over try-catch blocks without a call.
* Huge code cleanup in some functions.
twisti [Thu, 8 Dec 2005 16:27:56 +0000 (16:27 +0000)]
* noinst_HEADERS: Added md-asm.h.
twisti [Thu, 8 Dec 2005 16:27:28 +0000 (16:27 +0000)]
* asmpart.S defines.
twisti [Thu, 8 Dec 2005 14:35:18 +0000 (14:35 +0000)]
* Added, contains common ABI defines.
twisti [Thu, 8 Dec 2005 14:33:46 +0000 (14:33 +0000)]
* config.h, vm/types.h, vm/global.h, vm/linker.h: Includes added.
twisti [Thu, 8 Dec 2005 14:32:53 +0000 (14:32 +0000)]
* vm/jit/abi.h: Added.
* asm_handle_exception: Save temporary register, they may be used in leaf
functions or over try-catch blocks without a call.
* Huge code cleanup in all functions.
twisti [Thu, 8 Dec 2005 14:31:19 +0000 (14:31 +0000)]
* noinst_HEADERS: Added abi.h.
twisti [Thu, 8 Dec 2005 14:27:05 +0000 (14:27 +0000)]
* Added register defines.
* SAVE_TEMPORARY_REGISTERS, RESTORE_TEMPORARY_REGISTERS: Added float
registers.
twisti [Thu, 8 Dec 2005 14:25:13 +0000 (14:25 +0000)]
* exceptions_handle_exception: Better assert message.
twisti [Wed, 7 Dec 2005 20:23:33 +0000 (20:23 +0000)]
* Removed accidentaly slipped in #if 0, we have to fix this properly.
twisti [Wed, 7 Dec 2005 20:22:11 +0000 (20:22 +0000)]
* codegen_ncode_increase: #ifdef'd ENABLE_INTRP.
* codegen_finish: ncodelen likewise.
twisti [Wed, 7 Dec 2005 17:44:37 +0000 (17:44 +0000)]
* main (compileall): Print error and exception instead of calling
throw_main_exception_exit.
twisti [Wed, 7 Dec 2005 17:43:29 +0000 (17:43 +0000)]
* load_class_bootstrap: Use new_noclassdeffounderror instead of
new_exception_utfmessage.
anton [Wed, 7 Dec 2005 17:32:57 +0000 (17:32 +0000)]
* Dynamic superinstructions including patched instructions (jmv98 works).
anton [Wed, 7 Dec 2005 16:10:30 +0000 (16:10 +0000)]
* AC_ASM_SKIP16: Added.
anton [Wed, 7 Dec 2005 16:09:26 +0000 (16:09 +0000)]
* OPT_NO_DYNAMIC: Added.
anton [Wed, 7 Dec 2005 16:08:52 +0000 (16:08 +0000)]
* opt_no_dynamic: Added.
anton [Wed, 7 Dec 2005 16:07:54 +0000 (16:07 +0000)]
* codegen_setup: Initialize dynamic superinstructions variables.
* codegen_ncode_increase: Added.
* codegen_finish: Relocate dynamic superinstruction code space.
anton [Wed, 7 Dec 2005 16:06:19 +0000 (16:06 +0000)]
* NCODEINITSIZE: Added.
* codegendata: Added stuff for dynamic superinstructions.
* codegen_ncode_increase: Added.
anton [Wed, 7 Dec 2005 16:04:48 +0000 (16:04 +0000)]
* asm_calljavafunction2: Changed void* to jni_callblock*.
anton [Wed, 7 Dec 2005 16:03:37 +0000 (16:03 +0000)]
* Dynamic superinstructions added.
* Some code cleanup.
twisti [Tue, 6 Dec 2005 22:30:30 +0000 (22:30 +0000)]
* asm_handle_exception: Much better, simpler and smaller implementation
(but SWT does not work yet, FIXME!).
twisti [Tue, 6 Dec 2005 20:18:01 +0000 (20:18 +0000)]
* assert.h: Added.
* exceptions_handle_exception: Also do monitorexit.
twisti [Tue, 6 Dec 2005 20:13:26 +0000 (20:13 +0000)]
* asm_handle_exception: Much better, simpler and smaller implementation.
twisti [Mon, 5 Dec 2005 22:54:42 +0000 (22:54 +0000)]
* asm_handle_exception: Use exceptions_handle_exception.
twisti [Mon, 5 Dec 2005 22:10:54 +0000 (22:10 +0000)]
* offclassloaded, offclasslinked: Removed.
twisti [Mon, 5 Dec 2005 22:09:59 +0000 (22:09 +0000)]
* classinfo: Removed loaded, linked members.
twisti [Mon, 5 Dec 2005 22:08:45 +0000 (22:08 +0000)]
* Replaced c->loaded and c->linked stuff with
c->state & CLASS_{LOADED,LINKED}.
twisti [Mon, 5 Dec 2005 22:02:26 +0000 (22:02 +0000)]
* vm/exceptions.h: Removed.
* vm/class.h: Added.
twisti [Mon, 5 Dec 2005 20:45:51 +0000 (20:45 +0000)]
* ENABLE_JIT: Forgot to define that for autconf.
twisti [Mon, 5 Dec 2005 20:01:32 +0000 (20:01 +0000)]
* Use C comments.
twisti [Mon, 5 Dec 2005 20:01:11 +0000 (20:01 +0000)]
* ffi_prep_closure: Use ansi asm and volatile names.
twisti [Mon, 5 Dec 2005 19:56:54 +0000 (19:56 +0000)]
* vm/class.h: Added.
twisti [Mon, 5 Dec 2005 19:48:48 +0000 (19:48 +0000)]
* We distribute these files only in releases, others have to have a vmgen.
twisti [Mon, 5 Dec 2005 19:48:08 +0000 (19:48 +0000)]
* INCLUDES: ffi headers are generated fro .in files into builddir.
* BUILT_SOURCES: Added again.
* CLEANFILES: Added.
* libintrp_la_SOURCES: Removed .i files, need to check this for make dist.
twisti [Mon, 5 Dec 2005 19:37:20 +0000 (19:37 +0000)]
* vm/class.h: Added.
* patcher_get_putstatic: Replaced c->initialized by
(c->state & CLASS_INITIALIZED).
* patcher_clinit: Likewise.
twisti [Mon, 5 Dec 2005 19:36:57 +0000 (19:36 +0000)]
* vm/class.h: Added.
* codegen: Replaced c->initialized by (c->state & CLASS_INITIALIZED).
twisti [Mon, 5 Dec 2005 19:32:14 +0000 (19:32 +0000)]
* ICMD_{PUT,GET}{STATIC,FIELD}: Don't set isleafmethod = false for MIPS.
* ICMD_IREM0X10001, ICMD_LREM0X10001: Removed.
twisti [Mon, 5 Dec 2005 19:23:25 +0000 (19:23 +0000)]
* JAVA_{PUT,GET}{STATIC,FIELD}: Removed isleafmethods = false for mips.
* JAVA_CHECKCAST: Likewise.
* JAVA_INSTANCEOF: Likewise.
twisti [Mon, 5 Dec 2005 19:03:54 +0000 (19:03 +0000)]
* SUCK_BE_*: We can't use optimized version on MIPS because of alignment.
twisti [Mon, 5 Dec 2005 18:24:32 +0000 (18:24 +0000)]
* builtin_throw: Compile error and warning fixes.
twisti [Mon, 5 Dec 2005 18:15:14 +0000 (18:15 +0000)]
* vm/class.h: Added.
* vm/tables.h: Removed.
* codegen: Replaced c->initialized by (c->state & CLASS_INITIALIZED).
twisti [Mon, 5 Dec 2005 18:14:33 +0000 (18:14 +0000)]
* vm/class.h: Added.
* patcher_get_putstatic: Replaced c->initialized by
(c->state & CLASS_INITIALIZED).
twisti [Mon, 5 Dec 2005 18:12:58 +0000 (18:12 +0000)]
* vm/tables.h: Removed.
* codegen: Replaced c->initialized by (c->state & CLASS_INITIALIZED).
twisti [Mon, 5 Dec 2005 18:12:35 +0000 (18:12 +0000)]
* vm/class.h: Added.
* patcher_get_putstatic: Replaced c->initialized by
(c->state & CLASS_INITIALIZED).
* patcher_clinit: Likewise.
twisti [Sat, 3 Dec 2005 16:09:21 +0000 (16:09 +0000)]
* vm/tables.h: Removed.
* codegen: Replaced c->initialized by (c->state & CLASS_INITIALIZED).
twisti [Sat, 3 Dec 2005 16:09:05 +0000 (16:09 +0000)]
* vm/class.h: Added.
* patcher_get_putstatic: Replaced c->initialized by
(c->state & CLASS_INITIALIZED).
* patcher_clinit: Likewise.
twisti [Sat, 3 Dec 2005 15:25:18 +0000 (15:25 +0000)]
* patcher_get_putstatic: Replaced c->initialized by
(c->state & CLASS_INITIALIZED).
* patcher_clinit: Likewise.
twisti [Sat, 3 Dec 2005 15:24:55 +0000 (15:24 +0000)]
* vm/tables.h: Removed.
* codegen: Replaced c->initialized by (c->state & CLASS_INITIALIZED).
twisti [Sat, 3 Dec 2005 14:53:35 +0000 (14:53 +0000)]
* --disable-debug added.
twisti [Sat, 3 Dec 2005 14:43:47 +0000 (14:43 +0000)]
* Replaced c->initialized by (c->state & CLASS_INITIALIZED).
* NewDirectByteBuffer: Started to implement it correctly (not finished
yet).
twisti [Sat, 3 Dec 2005 14:39:13 +0000 (14:39 +0000)]
* Started to write our own zip handling code.
twisti [Sat, 3 Dec 2005 14:34:09 +0000 (14:34 +0000)]
* tables.[ch]: Renamed to hashtable.[ch].
* suck.[ch]: Added.
twisti [Sat, 3 Dec 2005 14:32:40 +0000 (14:32 +0000)]
* Moved suck related stuff from loader and improved some functions, added
some SUCK_{LE,BE}_* macros which are endian dependent.
twisti [Sat, 3 Dec 2005 13:31:29 +0000 (13:31 +0000)]
* exceptionentry: Added.
twisti [Sat, 3 Dec 2005 13:06:19 +0000 (13:06 +0000)]
* vm/types.h, vm/jit/methodheader.h: Added.
* vm/tables.h: Removed.
* exceptions_handle_exception: Started to implement parts of
asm_handle_exception in C.
twisti [Sat, 3 Dec 2005 13:00:28 +0000 (13:00 +0000)]
* vm/tables.h: Removed.
* class_create_classinfo: Use classinfo object.
* class_postset_header_vftbl: Renamed classcache_hash to
hashtable_classcache, use classinfo object.
* #ifdef ENABLE_DEBUG some debug methods.
twisti [Sat, 3 Dec 2005 12:58:36 +0000 (12:58 +0000)]
* initialize_class: Use c->state instead of old members (initializing,
initialized, now we also have a CLASS_ERROR state and return a
NoClassDefFoundError in this case (fixes mauve test).
twisti [Sat, 3 Dec 2005 12:43:29 +0000 (12:43 +0000)]
* config.h, vm/types.h: Added.
* field_display: #ifdef'd ENABLE_DEBUG.
twisti [Sat, 3 Dec 2005 12:41:44 +0000 (12:41 +0000)]
* Removed a bunch of unused headers.
* vm/field.h, vm/utf8.h: Added.
* field_display: #ifdef'd ENABLE_DEBUG.
twisti [Sat, 3 Dec 2005 12:40:35 +0000 (12:40 +0000)]
* java_lang_Class.h: Added.
* vm/tables.h: Removed.
* Added class state defines (CLASS_LOADING, CLASS_LOADED, CLASS_LINKING,
CLASS_LINKED, CLASS_INITIALIZING, CLASS_INITIALIZED, CLASS_ERROR).
* classinfo: Use `java_lang_Class object' instead of defining the members
hardcoded, removed members initializing_thread, erroneous_state, vmData,
initialized, initializing.
twisti [Sat, 3 Dec 2005 12:35:43 +0000 (12:35 +0000)]
* builtin_new: Replaced c->initialized by (c->state & CLASS_INITIALIZED).
* builtin_staticmonitorenter: Use object member of classinfo structure.
twisti [Sat, 3 Dec 2005 12:34:42 +0000 (12:34 +0000)]
* Added ENABLE_DEBUG.