christian [Mon, 27 Jun 2005 14:21:44 +0000 (14:21 +0000)]
Typing error from last commit fixed
christian [Mon, 27 Jun 2005 14:19:36 +0000 (14:19 +0000)]
Reserve stack space for saving return values to survive monitorexit according to the type
twisti [Mon, 27 Jun 2005 12:07:54 +0000 (12:07 +0000)]
* md_init: added
christian [Mon, 27 Jun 2005 10:55:38 +0000 (10:55 +0000)]
Correct saving of integer return register for [AIL]RETURN for monitorexit
twisti [Mon, 27 Jun 2005 08:58:00 +0000 (08:58 +0000)]
* Ignore ADDITIONAL_STATIC_CLASSPATH_HEADER_FILES
twisti [Sun, 26 Jun 2005 23:53:54 +0000 (23:53 +0000)]
* Bugfix: check return type for IS_2_WORD_TYPE and save more space on stack for
monitorexit
* use more risc macros
twisti [Sun, 26 Jun 2005 23:51:36 +0000 (23:51 +0000)]
* M_ALD, M_AST: macros added
christian [Sun, 26 Jun 2005 21:48:50 +0000 (21:48 +0000)]
correct handling for register usage for return types
christian [Sun, 26 Jun 2005 21:48:11 +0000 (21:48 +0000)]
one M_ILD in var_to_reg_int too much
christian [Sun, 26 Jun 2005 21:47:29 +0000 (21:47 +0000)]
md_param_alloc has to be called if paramcount==0, too
twisti [Sun, 26 Jun 2005 13:06:51 +0000 (13:06 +0000)]
* md_init: added
twisti [Sun, 26 Jun 2005 11:39:18 +0000 (11:39 +0000)]
* Added md_init
twisti [Sat, 25 Jun 2005 15:32:34 +0000 (15:32 +0000)]
* Added md_init
twisti [Sat, 25 Jun 2005 15:29:50 +0000 (15:29 +0000)]
* Removed machine independent stuff
* Renamed handlers
* Added md_init
twisti [Sat, 25 Jun 2005 14:47:16 +0000 (14:47 +0000)]
* Use strlen("0") instead of 1
* Call md_init, i think after jit_init is a good place
twisti [Sat, 25 Jun 2005 13:43:51 +0000 (13:43 +0000)]
* Removed machine independent stuff
* Renamed handler
* Added md_init
twisti [Sat, 25 Jun 2005 13:42:38 +0000 (13:42 +0000)]
* Added md_init prototype (i think this is the best place)
twisti [Sat, 25 Jun 2005 13:37:35 +0000 (13:37 +0000)]
* builtin_displaymethodstop: print hex values of integer/float return
values
twisti [Sat, 25 Jun 2005 13:31:16 +0000 (13:31 +0000)]
* ICMD_{GET,PUT}STATIC: print (NOT INITIALIZED) for uninitialized classes
twisti [Sat, 25 Jun 2005 13:29:42 +0000 (13:29 +0000)]
* Print hex value for ICMD_FCONST, ICMD_DCONST
* Use %g instead of %f for ICMD_DCONST
twisti [Sat, 25 Jun 2005 13:25:21 +0000 (13:25 +0000)]
* builtin_asm_get_stackframeinfo: don't declare as inline since this
results in linking problems (at least on irix)
christian [Fri, 24 Jun 2005 19:46:23 +0000 (19:46 +0000)]
Use of unused argument registers in leaf methods enabled, too
christian [Fri, 24 Jun 2005 15:11:59 +0000 (15:11 +0000)]
Use of unused argument registers as temp registers again enabled
christian [Fri, 24 Jun 2005 15:11:25 +0000 (15:11 +0000)]
Typing error corrected (argINTreguse instead of argFLTreguse)
edwin [Thu, 23 Jun 2005 17:49:38 +0000 (17:49 +0000)]
comments
renamed typeinfo_init_from_methoddesc to typeinfos_...
twisti [Thu, 23 Jun 2005 15:22:01 +0000 (15:22 +0000)]
* asm_call_jit_compiler: use store macros on linux and in the meantime
inlined code for darwin (till i find something that works)* asm_call_jit_compiler: use store macros on linux and in the meantime
inlined code for darwin (till i find something that works)* asm_call_jit_compiler: use store macros on linux and in the meantime
inlined code for darwin (till i find something that works)* asm_call_jit_compiler: use store macros on linux and in the meantime
inlined code for darwin (till i find something that works)* asm_call_jit_compiler: use store macros on linux and in the meantime
inlined code for darwin (till i find something that works)* asm_call_jit_compiler: use store macros on linux and in the meantime
inlined code for darwin (till i find something that works)* asm_call_jit_compiler: use store macros on linux and in the meantime
inlined code for darwin (till i find something that works)* asm_call_jit_compiler: use store macros on linux and in the meantime
inlined code for darwin (till i find something that works)
twisti [Thu, 23 Jun 2005 15:21:02 +0000 (15:21 +0000)]
* Removed machine independent stuff
* Renamed handler
twisti [Thu, 23 Jun 2005 15:20:39 +0000 (15:20 +0000)]
* Removed redundant )'s
christian [Thu, 23 Jun 2005 14:49:51 +0000 (14:49 +0000)]
Typing errors corrected
christian [Thu, 23 Jun 2005 14:30:44 +0000 (14:30 +0000)]
Index for intargregs for long Parameters get packed now
christian [Thu, 23 Jun 2005 14:30:04 +0000 (14:30 +0000)]
Corrected INT_XXX_CNT
Register packing macros added
christian [Thu, 23 Jun 2005 14:19:18 +0000 (14:19 +0000)]
Register Packing macros moved to md-abi.h
No more *_SECOND_* and *_FIRST_*, all this macros operate now only on high
and low part, according to the machine architecture.
edwin [Thu, 23 Jun 2005 14:03:24 +0000 (14:03 +0000)]
exception handling in typeinfo.c and typecheck.c
possible bugfix in typestate_merge
cleaned up typecheck.c, use verifier_state where possible
set leafmethod=false if patcher needed for field access
lots of comments added
twisti [Thu, 23 Jun 2005 14:00:27 +0000 (14:00 +0000)]
* Removed darwin stuff for old hardware nullpointer handling (this are the
original boehm-gc6.3 files)
twisti [Thu, 23 Jun 2005 13:53:13 +0000 (13:53 +0000)]
* Use sigaction for sigsegv handler
* Removed machine independent stuff
* Renamed handler
twisti [Thu, 23 Jun 2005 13:51:33 +0000 (13:51 +0000)]
* generic_print_address: fixed typo which generated a wrong address
twisti [Thu, 23 Jun 2005 13:51:06 +0000 (13:51 +0000)]
* asm_handle_nullptr_exception: removed
* asm_call_jit_compiler: use some defines to calculate the stack offsets
twisti [Thu, 23 Jun 2005 13:50:00 +0000 (13:50 +0000)]
* JAVA_{GET,PUT}{STATIC,FIELD}: check for initialized in !opt_verify
twisti [Thu, 23 Jun 2005 13:40:41 +0000 (13:40 +0000)]
* Removed machine independent stuff
* Renamed handler
twisti [Thu, 23 Jun 2005 13:19:41 +0000 (13:19 +0000)]
* Time for -Werror
twisti [Thu, 23 Jun 2005 11:12:28 +0000 (11:12 +0000)]
* Include global.h before java_lang_String.h
twisti [Thu, 23 Jun 2005 10:14:39 +0000 (10:14 +0000)]
* Removed machine independent stuff
* Renamed handlers
twisti [Thu, 23 Jun 2005 10:09:50 +0000 (10:09 +0000)]
* thread_dump: send SIGUSR1 to all threads, this maybe has to be changed
since boehm uses USR1 on some archs for suspend
twisti [Thu, 23 Jun 2005 09:54:26 +0000 (09:54 +0000)]
* Added: stacktrace_dump_trace
twisti [Thu, 23 Jun 2005 09:52:06 +0000 (09:52 +0000)]
* Renamed init_exceptions to signal_init
twisti [Thu, 23 Jun 2005 09:51:32 +0000 (09:51 +0000)]
* Removed machine independent stuff
* Renamed handlers
twisti [Thu, 23 Jun 2005 09:42:34 +0000 (09:42 +0000)]
* Moved md_param_alloc prototype to decriptor.h
twisti [Thu, 23 Jun 2005 09:34:51 +0000 (09:34 +0000)]
* Added: signal.c, signallocal.h
twisti [Thu, 23 Jun 2005 09:34:21 +0000 (09:34 +0000)]
* Machine independent signal handler stuff.
twisti [Thu, 23 Jun 2005 09:30:04 +0000 (09:30 +0000)]
* Include stdlib.h again to prevent a compiler warning, till i can fix the
code and use cacao memory macros
edwin [Wed, 22 Jun 2005 22:07:33 +0000 (22:07 +0000)]
added comments and assertions, minor cleanup
edwin [Wed, 22 Jun 2005 20:28:31 +0000 (20:28 +0000)]
added comments (and some assertions)
edwin [Wed, 22 Jun 2005 16:27:21 +0000 (16:27 +0000)]
fix error message code: utf_sprint declarer->name, not declarer
edwin [Wed, 22 Jun 2005 16:16:41 +0000 (16:16 +0000)]
added checkaccess parameter to resolve_class_from_typedesc
edwin [Wed, 22 Jun 2005 16:08:51 +0000 (16:08 +0000)]
added checkaccess parameter to resolve_class* functions
improved exception handling in typeinfo.c
do not check access rights to classes for subtype checks
edwin [Wed, 22 Jun 2005 13:24:19 +0000 (13:24 +0000)]
fixed undefined return value of verify_init_locals
edwin [Wed, 22 Jun 2005 12:38:20 +0000 (12:38 +0000)]
made verify_ functions static
edwin [Wed, 22 Jun 2005 12:32:04 +0000 (12:32 +0000)]
introducted verifier_state structure
started to split monster function typecheck() into several functions
move towards verifiying lazy loading
some comments
edwin [Wed, 22 Jun 2005 12:09:11 +0000 (12:09 +0000)]
fix subtype checking for merged array types
better error message if subtype test fails
added some RESOLVE_VERBOSE message (maybe remove later)
edwin [Wed, 22 Jun 2005 12:05:49 +0000 (12:05 +0000)]
if (opt_verify) set iptr->val.a to NULL to indicate unresolved reference
edwin [Wed, 22 Jun 2005 12:03:36 +0000 (12:03 +0000)]
added stubs for typeinfo functions
twisti [Wed, 22 Jun 2005 10:51:53 +0000 (10:51 +0000)]
* Added opt_shownativestub to show disassembled native stubs
* Bugfix: dump_release was a bit too early (we need cd for debugging)
twisti [Wed, 22 Jun 2005 10:51:03 +0000 (10:51 +0000)]
* Added opt_shownativestub to show disassembled native stubs
twisti [Wed, 22 Jun 2005 10:28:54 +0000 (10:28 +0000)]
* patcher_get_putfield: only patch back 5-bytes, since the instruction is
smaller than 8-bytes
* Added machine code comments to function headers
christian [Wed, 22 Jun 2005 10:02:54 +0000 (10:02 +0000)]
Variables for later to be corrected argument register use commented out correctly
christian [Wed, 22 Jun 2005 09:51:11 +0000 (09:51 +0000)]
Added/Corrected [INT|ADR|FLT]_[REG|TMP|SAV|ARG|RES]_CNT defines
christian [Wed, 22 Jun 2005 09:49:20 +0000 (09:49 +0000)]
Adopted to compile with the registerdata changes. Not to be used for now.
christian [Wed, 22 Jun 2005 09:48:28 +0000 (09:48 +0000)]
Correct entries in Authors/Changes
christian [Wed, 22 Jun 2005 09:47:44 +0000 (09:47 +0000)]
Changes in the registerdata structure:
all max*, if* are put together with the corresponding member
all members for the number of registers are replaced by #defines in the appropriate md-abi.h (
[INT|ADR|FLT]_[REG|TMP|SAV|ARG|RES]_CNT )
twisti [Wed, 22 Jun 2005 09:26:04 +0000 (09:26 +0000)]
* Only patch back 5 bytes code (call size) since 8 bytes may overwrite a
instruction of the next basic block
twisti [Wed, 22 Jun 2005 09:24:37 +0000 (09:24 +0000)]
* Added a filler entry to builtintable_automatic to prevent a compiler
warning where all ICMDs are supported (e.g. i386)
twisti [Wed, 22 Jun 2005 09:23:53 +0000 (09:23 +0000)]
* builtintable_sort_internal: removed, we don't need it
* subtract 1 from automatic table size (compiler warning filler)
twisti [Tue, 21 Jun 2005 15:53:07 +0000 (15:53 +0000)]
* Added M_ALD, M_AST macros
twisti [Tue, 21 Jun 2005 15:52:44 +0000 (15:52 +0000)]
* Fixed nasty eclipse show-stopper: x86_64_mov_imm_membase moves 32-bit
sign-extended to a 64-bit location
twisti [Tue, 21 Jun 2005 15:51:39 +0000 (15:51 +0000)]
* Some code cleanup, so maybe one day i can understand the code
twisti [Tue, 21 Jun 2005 11:47:05 +0000 (11:47 +0000)]
* createnativestub: removed machine independent code
* started to use macros like on Alpha
twisti [Tue, 21 Jun 2005 11:46:06 +0000 (11:46 +0000)]
* Added M_LADD, M_AADD macros
twisti [Tue, 21 Jun 2005 10:40:28 +0000 (10:40 +0000)]
* Bugfix: membase %rsp/%r12 special case
twisti [Tue, 21 Jun 2005 10:18:15 +0000 (10:18 +0000)]
* createnativestub: removed machine independent code
twisti [Tue, 21 Jun 2005 09:19:14 +0000 (09:19 +0000)]
* createnativestub: removed machine independent code
stefan [Mon, 20 Jun 2005 23:09:59 +0000 (23:09 +0000)]
fixed a deadlock introduced by previous patch
stefan [Mon, 20 Jun 2005 22:46:55 +0000 (22:46 +0000)]
let's clear this up a bit
stefan [Mon, 20 Jun 2005 22:36:55 +0000 (22:36 +0000)]
let's clear this up a bit
stefan [Mon, 20 Jun 2005 22:14:59 +0000 (22:14 +0000)]
replaced one hack by another
twisti [Mon, 20 Jun 2005 21:56:37 +0000 (21:56 +0000)]
* Set java.version to 1.4.1 for eclipse-3.1
edwin [Mon, 20 Jun 2005 21:14:33 +0000 (21:14 +0000)]
do not check protected access for methods of arrays (problem with clone method)
work on lazy loading verification
twisti [Mon, 20 Jun 2005 20:53:09 +0000 (20:53 +0000)]
* createnativestub: removed machine independent code
twisti [Mon, 20 Jun 2005 18:26:03 +0000 (18:26 +0000)]
* Moved machine independent code from createnativestub to
codegen_createnativestub
edwin [Mon, 20 Jun 2005 15:23:48 +0000 (15:23 +0000)]
fix merging error
edwin [Mon, 20 Jun 2005 15:19:46 +0000 (15:19 +0000)]
some fixes
edwin [Mon, 20 Jun 2005 15:18:41 +0000 (15:18 +0000)]
added stub for typeinfo_init_class
edwin [Mon, 20 Jun 2005 15:13:08 +0000 (15:13 +0000)]
added two macros for PUT{FIELD,STATIC}CONST
edwin [Mon, 20 Jun 2005 15:11:47 +0000 (15:11 +0000)]
move the verifier towards lazy loading
edwin [Mon, 20 Jun 2005 15:04:31 +0000 (15:04 +0000)]
turn on TYPECHECK_DEBUG, turn off TYPECHECK_VERBOSE
twisti [Mon, 20 Jun 2005 15:01:24 +0000 (15:01 +0000)]
* Come on... it's not that hard!
edwin [Mon, 20 Jun 2005 15:00:55 +0000 (15:00 +0000)]
shorter debug dump for parsed descriptors
edwin [Mon, 20 Jun 2005 13:06:15 +0000 (13:06 +0000)]
added builtintable_entry_debug_dump
edwin [Mon, 20 Jun 2005 12:01:34 +0000 (12:01 +0000)]
some work on the resolve functions for verification
edwin [Mon, 20 Jun 2005 11:59:14 +0000 (11:59 +0000)]
fixed classref field for 'this' parameter in methoddescs
edwin [Mon, 20 Jun 2005 11:54:06 +0000 (11:54 +0000)]
added class_get_self_classref, should be made faster, however