cacao.git
19 years agoadded arm architecture
michi [Tue, 7 Jun 2005 15:31:38 +0000 (15:31 +0000)]
added arm architecture

19 years agoMULTIANEWARRAY: linux bugfix
twisti [Tue, 7 Jun 2005 15:07:55 +0000 (15:07 +0000)]
MULTIANEWARRAY: linux bugfix

19 years agoconting max use of argument registers and stack use for a method
christian [Tue, 7 Jun 2005 08:37:09 +0000 (08:37 +0000)]
conting max use of argument registers and stack use for a method

19 years agoMoved md_param_alloc from md-abi.h to md.h since md-abi.h is included in
twisti [Mon, 6 Jun 2005 21:21:19 +0000 (21:21 +0000)]
Moved md_param_alloc from md-abi.h to md.h since md-abi.h is included in
asmpart.S.

19 years agoget_parametertypes: use fully parsed descriptors
twisti [Mon, 6 Jun 2005 15:39:58 +0000 (15:39 +0000)]
get_parametertypes: use fully parsed descriptors

19 years ago- used parsed descriptors
twisti [Mon, 6 Jun 2005 15:38:52 +0000 (15:38 +0000)]
- used parsed descriptors
- code indent

19 years agoAdded:
twisti [Mon, 6 Jun 2005 15:37:58 +0000 (15:37 +0000)]
Added:
 - AC_COMPILE_CHECK_SIZEOF
 - src/vm/jit/powerpc/darwin/Makefile
 - src/vm/jit/powerpc/linux/Makefile

19 years ago- resolve_method: check for mi->parseddesc->params and generate it if not
twisti [Mon, 6 Jun 2005 15:36:12 +0000 (15:36 +0000)]
- resolve_method: check for mi->parseddesc->params and generate it if not
  available, so we can use the correct param stuff (static vs. non-static)
- removed INSTRUCTION_PUTCONST_FIELDREF (only used twice)

19 years ago- load_constantpool: try to add all descriptors to the pool
twisti [Mon, 6 Jun 2005 15:34:32 +0000 (15:34 +0000)]
- load_constantpool: try to add all descriptors to the pool
- load_class_from_classbuffer: pass m->flags for class methods to
  descriptor_pool_parse_method_descriptor so we can do the register
  pre-allocation

19 years ago- descriptor_pool_add: check for method descriptors and add all of them
twisti [Mon, 6 Jun 2005 15:32:16 +0000 (15:32 +0000)]
- descriptor_pool_add: check for method descriptors and add all of them
  since the static flag may be different
- descriptor_pool_parse_method_descriptor: pass method flags and generate,
  if possible, the params array which contains the register allocation for
  this particular function (descriptor)
- added: descriptor_params_from_paramtypes
- some code beautification

19 years agoAdded: builtintable.inc
twisti [Mon, 6 Jun 2005 15:28:39 +0000 (15:28 +0000)]
Added: builtintable.inc

19 years ago- use parsed descriptors
twisti [Mon, 6 Jun 2005 15:28:11 +0000 (15:28 +0000)]
- use parsed descriptors
- use generic ICMD_BUILTIN

19 years agoCommented builtin stuff. Please fix me!
twisti [Mon, 6 Jun 2005 15:26:26 +0000 (15:26 +0000)]
Commented builtin stuff. Please fix me!

19 years ago- removed: BUILTIN{1,2,3}, INSTRUCTION_PUTCONST_FIELDREF
twisti [Mon, 6 Jun 2005 15:25:56 +0000 (15:25 +0000)]
- removed: BUILTIN{1,2,3}, INSTRUCTION_PUTCONST_FIELDREF

19 years ago- removed BUILTIN{1,2,3}
twisti [Mon, 6 Jun 2005 15:25:39 +0000 (15:25 +0000)]
- removed BUILTIN{1,2,3}
- use SIZEOF_VOID_P
- removed sort_builtintable from jit_init

19 years agoLinux changes.
twisti [Mon, 6 Jun 2005 15:24:15 +0000 (15:24 +0000)]
Linux changes.

19 years agoChanged to generic ICMD_BUILTIN.
twisti [Mon, 6 Jun 2005 15:22:56 +0000 (15:22 +0000)]
Changed to generic ICMD_BUILTIN.

19 years agoCommented builtin stuff. This has to be fixed correctly.
twisti [Mon, 6 Jun 2005 15:22:21 +0000 (15:22 +0000)]
Commented builtin stuff. This has to be fixed correctly.

19 years agoCode beautify.
twisti [Mon, 6 Jun 2005 15:21:19 +0000 (15:21 +0000)]
Code beautify.

19 years agoAdded: utf_clone
twisti [Mon, 6 Jun 2005 15:20:41 +0000 (15:20 +0000)]
Added: utf_clone

19 years agoDefined ACC_UNDEF, ACC_NONE: these are used internally
twisti [Mon, 6 Jun 2005 15:01:54 +0000 (15:01 +0000)]
Defined ACC_UNDEF, ACC_NONE: these are used internally

19 years ago- removed old builtin table stuff
twisti [Mon, 6 Jun 2005 15:00:29 +0000 (15:00 +0000)]
- removed old builtin table stuff
- added: builtin_init, builtintable_init, builtintable_get_internal,
  builtintable_get_automatic
- use SIZEOF_VOID_P instead of POINTERSIZE
- use parsed descriptor

19 years ago- added OS_DIR to SUBDIRS
twisti [Mon, 6 Jun 2005 14:53:30 +0000 (14:53 +0000)]
- added OS_DIR to SUBDIRS
- add libmd.la to libarch.la

19 years agoPOINTERSIZE, CONSECUTIVE_FLOAT_ARGS: removed
twisti [Mon, 6 Jun 2005 14:52:51 +0000 (14:52 +0000)]
POINTERSIZE, CONSECUTIVE_FLOAT_ARGS: removed

19 years agoInclude memory.h for OFFSET macro.
twisti [Mon, 6 Jun 2005 14:51:38 +0000 (14:51 +0000)]
Include memory.h for OFFSET macro.

19 years agoMoved ABI and machine dependent stuff into linux/ subdirectory.
twisti [Mon, 6 Jun 2005 14:48:21 +0000 (14:48 +0000)]
Moved ABI and machine dependent stuff into linux/ subdirectory.

19 years agoMoved ABI and machine dependent stuff into darwin/ subdirectory.
twisti [Mon, 6 Jun 2005 14:47:28 +0000 (14:47 +0000)]
Moved ABI and machine dependent stuff into darwin/ subdirectory.

19 years agoAdded MMOVE macro.
twisti [Mon, 6 Jun 2005 14:45:17 +0000 (14:45 +0000)]
Added MMOVE macro.

19 years agoAdded md_param_alloc.
twisti [Mon, 6 Jun 2005 14:44:56 +0000 (14:44 +0000)]
Added md_param_alloc.

19 years ago- moved jit_init
twisti [Mon, 6 Jun 2005 14:44:06 +0000 (14:44 +0000)]
- moved jit_init
- added builtin_init

19 years agoIgnore nativetable.inc
twisti [Mon, 6 Jun 2005 14:42:48 +0000 (14:42 +0000)]
Ignore nativetable.inc

19 years agoUse memory macros.
twisti [Mon, 6 Jun 2005 14:42:29 +0000 (14:42 +0000)]
Use memory macros.

19 years ago- renamed arguments to fit classpath's
twisti [Mon, 6 Jun 2005 14:41:42 +0000 (14:41 +0000)]
- renamed arguments to fit classpath's
- use static utf_init

19 years agoIgnore generated files.
twisti [Mon, 6 Jun 2005 14:37:32 +0000 (14:37 +0000)]
Ignore generated files.

19 years agoContains builtin tables (internal, automatic). Included in builtin.c.
twisti [Mon, 6 Jun 2005 14:35:29 +0000 (14:35 +0000)]
Contains builtin tables (internal, automatic). Included in builtin.c.

19 years agoInclude OS_DIR.
twisti [Tue, 31 May 2005 22:35:04 +0000 (22:35 +0000)]
Include OS_DIR.

19 years ago- include <stdarg.h>
twisti [Tue, 31 May 2005 18:36:17 +0000 (18:36 +0000)]
- include <stdarg.h>
- define _exceptionptr

19 years ago- removed lazy loading defines
twisti [Tue, 31 May 2005 16:04:10 +0000 (16:04 +0000)]
- removed lazy loading defines
- changed output of unresolved builtin functions
- added #include "md-abi.h": TRACE_ARGS_NUM
- use short TYPE_ defines instead of long ones (i think we should finally
  merge them)

19 years agoRemoved lazy loading defines and old, unused code.
twisti [Tue, 31 May 2005 16:02:14 +0000 (16:02 +0000)]
Removed lazy loading defines and old, unused code.

19 years agoMany changes (nearly too much for one commit):
twisti [Tue, 31 May 2005 16:01:11 +0000 (16:01 +0000)]
Many changes (nearly too much for one commit):
 - lazy loading/code patching
 - removed machine depend stuff
 - removed monitorenter/exit assembler functions
 - code indent

19 years agoMachine dependent stuff.
twisti [Tue, 31 May 2005 15:55:54 +0000 (15:55 +0000)]
Machine dependent stuff.

19 years agoRemoved ABI related stuff (now in OS_DIR/md-abi.h).
twisti [Tue, 31 May 2005 15:55:01 +0000 (15:55 +0000)]
Removed ABI related stuff (now in OS_DIR/md-abi.h).

19 years agoPatcher functions implemented.
twisti [Tue, 31 May 2005 15:54:27 +0000 (15:54 +0000)]
Patcher functions implemented.

19 years ago- use monitorenter/exit macros
twisti [Tue, 31 May 2005 15:53:36 +0000 (15:53 +0000)]
- use monitorenter/exit macros
- fixed bug: returns is exception case did not release the monitor lock,
  this resulted in a deadlock for the waiting threads (thanks jowenn)

19 years ago- defined PATCHER_MONITOREXIT and PATCHER_MARK_PATCHED_MONITOREXIT
twisti [Tue, 31 May 2005 15:39:06 +0000 (15:39 +0000)]
- defined PATCHER_MONITOREXIT and PATCHER_MARK_PATCHED_MONITOREXIT
- added powerpc defines

19 years ago- include OS_DIR
twisti [Tue, 31 May 2005 15:06:06 +0000 (15:06 +0000)]
- include OS_DIR
- added: patcher.c
- added EXTRA_DIST: md files from os subdirs

19 years agoInclude OS_DIR.
twisti [Tue, 31 May 2005 14:35:28 +0000 (14:35 +0000)]
Include OS_DIR.

19 years agoDefine OS_DIR for Makefiles.
twisti [Tue, 31 May 2005 14:33:03 +0000 (14:33 +0000)]
Define OS_DIR for Makefiles.

19 years agoWe don't need to save temporary registers in runverbose && ACC_SYNCHRONIZED
twisti [Tue, 31 May 2005 10:30:31 +0000 (10:30 +0000)]
We don't need to save temporary registers in runverbose && ACC_SYNCHRONIZED
case, since this functions are tagged an non-leaf in parse.

19 years ago- killed panic, return NULL is error case
twisti [Sun, 29 May 2005 21:39:20 +0000 (21:39 +0000)]
- killed panic, return NULL is error case
- emacs tailer
- some header include fixes

19 years agogetCallingClass, getCallingClassLoader: implemented
twisti [Fri, 27 May 2005 13:18:48 +0000 (13:18 +0000)]
getCallingClass, getCallingClassLoader: implemented

19 years agoCheck for pango only with gtk peer enabled.
twisti [Fri, 27 May 2005 11:20:31 +0000 (11:20 +0000)]
Check for pango only with gtk peer enabled.

19 years agoDefined PATCHER_MONITORENTER/EXIT macros (i have some problems to see where
twisti [Wed, 25 May 2005 08:07:57 +0000 (08:07 +0000)]
Defined PATCHER_MONITORENTER/EXIT macros (i have some problems to see where
macros can be used ;-)

19 years agoMissing "regsneeded" renamed to intregsneeded (for PowerPC).
christian [Tue, 24 May 2005 15:41:24 +0000 (15:41 +0000)]
Missing "regsneeded" renamed to intregsneeded (for PowerPC).

19 years ago- compilation fixes
twisti [Tue, 24 May 2005 10:28:20 +0000 (10:28 +0000)]
- compilation fixes
- started to implement lazy loading

19 years ago- disabled gtk static build, problems with cairo
twisti [Tue, 24 May 2005 08:37:30 +0000 (08:37 +0000)]
- disabled gtk static build, problems with cairo
- removed xml/xslt stuff

19 years agofixed missing linking check in get_array_class
edwin [Mon, 23 May 2005 18:13:52 +0000 (18:13 +0000)]
fixed missing linking check in get_array_class

19 years agoInclude src/classpath/m4 for aclocal to get AM_ICONV* stuff from classpath.
twisti [Mon, 23 May 2005 15:23:48 +0000 (15:23 +0000)]
Include src/classpath/m4 for aclocal to get AM_ICONV* stuff from classpath.

19 years agoCheck for additional libraries with STATIC_CLASSPATH (not finished yet).
twisti [Mon, 23 May 2005 15:23:15 +0000 (15:23 +0000)]
Check for additional libraries with STATIC_CLASSPATH (not finished yet).

19 years agoAdded some libraries with STATIC_CLASSPATH (not finished yet).
twisti [Mon, 23 May 2005 15:22:08 +0000 (15:22 +0000)]
Added some libraries with STATIC_CLASSPATH (not finished yet).

19 years agoRemoved orphaned headers: made problems with java_lang_VMProcess.h because
twisti [Mon, 23 May 2005 12:04:09 +0000 (12:04 +0000)]
Removed orphaned headers: made problems with java_lang_VMProcess.h because
of redefinition of stdin/out/err.

19 years agoFixed: missing return statement at end of non-void function
twisti [Mon, 23 May 2005 11:57:59 +0000 (11:57 +0000)]
Fixed: missing return statement at end of non-void function

19 years agoKilled panic's.
twisti [Mon, 23 May 2005 10:33:06 +0000 (10:33 +0000)]
Killed panic's.

19 years agoAdded DISABLE_GC stuff.
twisti [Mon, 23 May 2005 10:31:50 +0000 (10:31 +0000)]
Added DISABLE_GC stuff.

19 years ago- killed panic's
twisti [Mon, 23 May 2005 10:28:54 +0000 (10:28 +0000)]
- killed panic's
- getStackCollector: return on OOM, TODO: return value may not be NULL

19 years ago- killed panic's
twisti [Mon, 23 May 2005 10:23:09 +0000 (10:23 +0000)]
- killed panic's
- added USE_INLINING #ifdef's (but always enabled, yet)

19 years ago- warning fixes
twisti [Mon, 23 May 2005 10:22:29 +0000 (10:22 +0000)]
- warning fixes
- added USE_INLINING #ifdef's (but always enabled, yet)

19 years agoAdded USE_INLINING stuff.
twisti [Mon, 23 May 2005 10:21:17 +0000 (10:21 +0000)]
Added USE_INLINING stuff.

19 years agoAdded: --disable-gc, --disable-inlining (but currently disabled)
twisti [Mon, 23 May 2005 10:20:43 +0000 (10:20 +0000)]
Added: --disable-gc, --disable-inlining (but currently disabled)

19 years agoAllocates memory with malloc (no GC).
twisti [Mon, 23 May 2005 10:19:31 +0000 (10:19 +0000)]
Allocates memory with malloc (no GC).

19 years agoAdded nogc.c
twisti [Mon, 23 May 2005 10:19:12 +0000 (10:19 +0000)]
Added nogc.c

19 years ago- dolog: don't use vsprintf, just print it out (no need to a buffer)
twisti [Mon, 23 May 2005 08:50:25 +0000 (08:50 +0000)]
- dolog: don't use vsprintf, just print it out (no need to a buffer)
- log_message_utf, log_message_class_message_class: added
- error, panic: removed

19 years ago- removed _CODEGEN_INC_H_ define, it's no header
twisti [Mon, 23 May 2005 08:34:04 +0000 (08:34 +0000)]
- removed _CODEGEN_INC_H_ define, it's no header
- use ptrint instead of long
- killed panic's

19 years ago- line length changes
twisti [Mon, 23 May 2005 08:32:38 +0000 (08:32 +0000)]
- line length changes
- removed panic in comment (for grep'ing)

19 years agoKilled panic's.
twisti [Mon, 23 May 2005 08:23:40 +0000 (08:23 +0000)]
Killed panic's.

19 years ago- killed panic's
twisti [Mon, 23 May 2005 08:22:45 +0000 (08:22 +0000)]
- killed panic's
- javastring_strlen: added

19 years agoUse dolog instead of sprintf/log_text, so no fixed buffer required.
twisti [Mon, 23 May 2005 08:22:03 +0000 (08:22 +0000)]
Use dolog instead of sprintf/log_text, so no fixed buffer required.

19 years ago- killed panic's
twisti [Mon, 23 May 2005 08:21:10 +0000 (08:21 +0000)]
- killed panic's
- load_class_from_classbuffer: use malloc instead of a fixed buffer

19 years ago- killed panic's
twisti [Mon, 23 May 2005 08:19:53 +0000 (08:19 +0000)]
- killed panic's
- linker_compute_subclasses: no j.l.O special required anymore
- print_arraydescriptor: removed

19 years agoUse log_message_class/log_message_class_message_class instead of a fixed
twisti [Mon, 23 May 2005 08:18:46 +0000 (08:18 +0000)]
Use log_message_class/log_message_class_message_class instead of a fixed
buffer.

19 years ago- killed panic's
twisti [Mon, 23 May 2005 08:17:53 +0000 (08:17 +0000)]
- killed panic's
- use log_message_utf instead of fixed buffer

19 years ago- builtin_throw_exception, builtin_trace_args, builtin_displaymethodstop:
twisti [Mon, 23 May 2005 08:12:52 +0000 (08:12 +0000)]
- builtin_throw_exception, builtin_trace_args, builtin_displaymethodstop:
  calculate message length and use malloc memory instead of fixed buffer
  length
- builtin_displaymethodstart: removed
- killed panic's
- removed warnings

19 years ago- killed panic's
twisti [Mon, 23 May 2005 08:06:46 +0000 (08:06 +0000)]
- killed panic's
- some macro reformating

19 years agoKilled panic's.
twisti [Mon, 23 May 2005 08:06:06 +0000 (08:06 +0000)]
Killed panic's.

19 years agoKilled panic's.
twisti [Sun, 22 May 2005 19:49:53 +0000 (19:49 +0000)]
Killed panic's.

19 years agoKilled panic's.
twisti [Sat, 21 May 2005 15:07:00 +0000 (15:07 +0000)]
Killed panic's.

19 years ago- killed panic's
twisti [Sat, 21 May 2005 14:59:14 +0000 (14:59 +0000)]
- killed panic's
- removed warnings

19 years agoKilled panic's.
twisti [Sat, 21 May 2005 14:58:36 +0000 (14:58 +0000)]
Killed panic's.

19 years agoAdded includes to prevent compiler warnings with STATIC_CLASSPATH.
twisti [Sat, 21 May 2005 14:58:28 +0000 (14:58 +0000)]
Added includes to prevent compiler warnings with STATIC_CLASSPATH.

19 years ago- new_verifyerror takes varargs
twisti [Fri, 20 May 2005 23:05:49 +0000 (23:05 +0000)]
- new_verifyerror takes varargs
- don't use fixed message buffer length: calculate message length and
  malloc memory

19 years agoKilled panic's.
twisti [Fri, 20 May 2005 17:51:34 +0000 (17:51 +0000)]
Killed panic's.

19 years ago- killed panic's
twisti [Fri, 20 May 2005 17:46:29 +0000 (17:46 +0000)]
- killed panic's
- some icmd reordering

19 years agoKilled panic's.
twisti [Fri, 20 May 2005 17:43:27 +0000 (17:43 +0000)]
Killed panic's.

19 years agoTypo in java_security_VMAccessController.h, so it was regenerated every
twisti [Fri, 20 May 2005 15:28:43 +0000 (15:28 +0000)]
Typo in java_security_VMAccessController.h, so it was regenerated every
run.

19 years agoperhaps I should commit the implementation too
jowenn [Fri, 20 May 2005 12:02:25 +0000 (12:02 +0000)]
perhaps I should commit the implementation too

19 years ago- killed panic's, replaced mostly by verify errors
twisti [Fri, 20 May 2005 11:20:21 +0000 (11:20 +0000)]
- killed panic's, replaced mostly by verify errors
- added some exceptions macros

19 years agoKilled panic's, replaced by log_text/assert.
twisti [Fri, 20 May 2005 11:19:41 +0000 (11:19 +0000)]
Killed panic's, replaced by log_text/assert.

19 years agoVMAccessController.getStack (currently leads in some cases to endless loops)
jowenn [Thu, 19 May 2005 08:48:55 +0000 (08:48 +0000)]
VMAccessController.getStack (currently leads in some cases to endless loops)

19 years agoKilled panic's.
twisti [Tue, 17 May 2005 09:05:33 +0000 (09:05 +0000)]
Killed panic's.

19 years agoAdded ADDITIONAL_STATIC_CLASSPATH_HEADER_FILES, which contains all
twisti [Fri, 13 May 2005 15:32:22 +0000 (15:32 +0000)]
Added ADDITIONAL_STATIC_CLASSPATH_HEADER_FILES, which contains all
additional classes for header generation required for a static cacaco.