cacao.git
19 years agoSome changes from my thesis.
twisti [Sun, 28 Nov 2004 17:06:43 +0000 (17:06 +0000)]
Some changes from my thesis.

19 years ago*** empty log message ***
christian [Sun, 28 Nov 2004 16:37:23 +0000 (16:37 +0000)]
*** empty log message ***

19 years agoWarning fixes, sorry.
twisti [Fri, 26 Nov 2004 12:02:31 +0000 (12:02 +0000)]
Warning fixes, sorry.

19 years agoNew clinit patch code.
twisti [Thu, 25 Nov 2004 15:49:48 +0000 (15:49 +0000)]
New clinit patch code.

19 years agoWarning fixes (usage of ptrint).
twisti [Thu, 25 Nov 2004 15:15:15 +0000 (15:15 +0000)]
Warning fixes (usage of ptrint).

19 years agoMove typedef's in front of includes.
twisti [Thu, 25 Nov 2004 15:14:48 +0000 (15:14 +0000)]
Move typedef's in front of includes.

19 years ago#endif typo
twisti [Thu, 25 Nov 2004 15:14:06 +0000 (15:14 +0000)]
#endif typo

19 years ago*** empty log message ***
christian [Thu, 25 Nov 2004 14:17:23 +0000 (14:17 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
christian [Thu, 25 Nov 2004 13:24:49 +0000 (13:24 +0000)]
*** empty log message ***

19 years agoBoehm now uses a config.h instead of -D defines to force a recompilation
twisti [Wed, 24 Nov 2004 15:26:32 +0000 (15:26 +0000)]
Boehm now uses a config.h instead of -D defines to force a recompilation
after configure made any changes, like --disable-threads.

19 years agoWarning fixes.
twisti [Wed, 24 Nov 2004 14:30:21 +0000 (14:30 +0000)]
Warning fixes.

19 years ago- moved architecture stuff into arch.h
twisti [Wed, 24 Nov 2004 14:27:44 +0000 (14:27 +0000)]
- moved architecture stuff into arch.h
- added ptrint type

19 years agoMoved architecture stuff into arch.h.
twisti [Wed, 24 Nov 2004 14:27:03 +0000 (14:27 +0000)]
Moved architecture stuff into arch.h.

19 years agoWarning fixes.
twisti [Wed, 24 Nov 2004 14:20:21 +0000 (14:20 +0000)]
Warning fixes.

19 years ago- declare i386_mov_reg_mem
twisti [Wed, 24 Nov 2004 14:13:06 +0000 (14:13 +0000)]
- declare i386_mov_reg_mem

19 years agoAdded ptrint type.
twisti [Wed, 24 Nov 2004 14:11:36 +0000 (14:11 +0000)]
Added ptrint type.

19 years agoUse new `ptrint' type for casts instead of `long'.
twisti [Wed, 24 Nov 2004 13:57:36 +0000 (13:57 +0000)]
Use new `ptrint' type for casts instead of `long'.

19 years agoNew clinit patch code.
twisti [Wed, 24 Nov 2004 13:57:02 +0000 (13:57 +0000)]
New clinit patch code.

19 years agotypedef a ptrint type to cast function pointers to int.
twisti [Wed, 24 Nov 2004 13:56:44 +0000 (13:56 +0000)]
typedef a ptrint type to cast function pointers to int.

19 years agoInclude <ucontext.h> instead of <sys/...>.
twisti [Wed, 24 Nov 2004 13:56:06 +0000 (13:56 +0000)]
Include <ucontext.h> instead of <sys/...>.

19 years ago- maybe we should always use `const char *' in function declarations
twisti [Wed, 24 Nov 2004 13:31:00 +0000 (13:31 +0000)]
- maybe we should always use `const char *' in function declarations
- bugfix: use vpfprintf in throw_cacao_exception_exit

19 years agoTypo fixed.
twisti [Wed, 24 Nov 2004 13:06:56 +0000 (13:06 +0000)]
Typo fixed.

19 years agoAdded Inline items
carolyn [Wed, 24 Nov 2004 11:18:06 +0000 (11:18 +0000)]
Added Inline items

19 years agoatomic instructions
stefan [Tue, 23 Nov 2004 22:19:40 +0000 (22:19 +0000)]
atomic instructions

19 years agoChanged field name className to new declaringClass.
twisti [Tue, 23 Nov 2004 16:07:11 +0000 (16:07 +0000)]
Changed field name className to new declaringClass.

19 years agoInclude required config.h.
twisti [Tue, 23 Nov 2004 16:06:03 +0000 (16:06 +0000)]
Include required config.h.

19 years agoFurther changes.
twisti [Tue, 23 Nov 2004 16:05:40 +0000 (16:05 +0000)]
Further changes.

19 years agoInclude arch.h.
twisti [Tue, 23 Nov 2004 16:05:04 +0000 (16:05 +0000)]
Include arch.h.

19 years agoInclude ucontext.h.
twisti [Tue, 23 Nov 2004 16:04:33 +0000 (16:04 +0000)]
Include ucontext.h.

19 years agoInclude arch.h for CODEMMAP.
twisti [Tue, 23 Nov 2004 16:02:46 +0000 (16:02 +0000)]
Include arch.h for CODEMMAP.

19 years agoInclude config.h for USE_THREADS.
twisti [Tue, 23 Nov 2004 16:02:31 +0000 (16:02 +0000)]
Include config.h for USE_THREADS.

19 years agoRemoved unneeded #include "nat/java_lang_VMClass.h".
twisti [Tue, 23 Nov 2004 16:01:51 +0000 (16:01 +0000)]
Removed unneeded #include "nat/java_lang_VMClass.h".

19 years ago- include config.h
twisti [Tue, 23 Nov 2004 15:57:20 +0000 (15:57 +0000)]
- include config.h
- #ifdef -> #if defined

19 years ago- new clinit patch code stuff
twisti [Tue, 23 Nov 2004 15:56:37 +0000 (15:56 +0000)]
- new clinit patch code stuff
- i386 warning fixes

19 years agoNew clinit patch code.
twisti [Tue, 23 Nov 2004 15:55:58 +0000 (15:55 +0000)]
New clinit patch code.

19 years agoMoved architecture dependent stuff into arch.h.
twisti [Tue, 23 Nov 2004 15:53:09 +0000 (15:53 +0000)]
Moved architecture dependent stuff into arch.h.

19 years ago- use dump memory in stub creation
twisti [Tue, 23 Nov 2004 15:52:25 +0000 (15:52 +0000)]
- use dump memory in stub creation
- warning fixes
- new PUT/GETSTATIC clinit code

19 years agoAdded some direct memory operations for PUT/GETSTATIC commands.
twisti [Tue, 23 Nov 2004 15:51:28 +0000 (15:51 +0000)]
Added some direct memory operations for PUT/GETSTATIC commands.

19 years agoMoved architecture dependend stuff into arch.h.
twisti [Tue, 23 Nov 2004 15:49:55 +0000 (15:49 +0000)]
Moved architecture dependend stuff into arch.h.

19 years agomore
stefan [Tue, 23 Nov 2004 09:26:48 +0000 (09:26 +0000)]
more

19 years ago*** empty log message ***
stefan [Tue, 23 Nov 2004 09:26:37 +0000 (09:26 +0000)]
*** empty log message ***

19 years agoinline interfaces
carolyn [Mon, 22 Nov 2004 12:01:16 +0000 (12:01 +0000)]
inline interfaces

19 years agoAdd Interface Test
carolyn [Mon, 22 Nov 2004 11:05:35 +0000 (11:05 +0000)]
Add Interface Test

19 years agoInclude also unused defines.
twisti [Fri, 19 Nov 2004 17:03:32 +0000 (17:03 +0000)]
Include also unused defines.

19 years agoRT input for dynamic load info for at.dms.kjc.Main
carolyn [Fri, 19 Nov 2004 15:53:34 +0000 (15:53 +0000)]
RT input for dynamic load info for at.dms.kjc.Main

19 years agoRTA updates for abstract classes
carolyn [Fri, 19 Nov 2004 15:47:13 +0000 (15:47 +0000)]
RTA updates for abstract classes

19 years agoRemoved unused headers.
twisti [Fri, 19 Nov 2004 15:14:58 +0000 (15:14 +0000)]
Removed unused headers.

19 years agoWarning fix.
twisti [Fri, 19 Nov 2004 14:38:04 +0000 (14:38 +0000)]
Warning fix.

19 years agoAgain a #warning without __GNUC__. Ahhhhhhhhhhhhhh!
twisti [Fri, 19 Nov 2004 14:26:31 +0000 (14:26 +0000)]
Again a #warning without __GNUC__. Ahhhhhhhhhhhhhh!

19 years agoSystem.exit bug fix.
twisti [Fri, 19 Nov 2004 13:17:33 +0000 (13:17 +0000)]
System.exit bug fix.

19 years agoBug fix: we also need to generate the nativetable entries from the classes
twisti [Thu, 18 Nov 2004 13:02:27 +0000 (13:02 +0000)]
Bug fix: we also need to generate the nativetable entries from the classes
which are not generated newly.

19 years agoBug fix: released filename memory of classpath entries.
twisti [Thu, 18 Nov 2004 13:01:41 +0000 (13:01 +0000)]
Bug fix: released filename memory of classpath entries.

19 years agoRenamed verbose to opt_verbose.
twisti [Thu, 18 Nov 2004 12:25:04 +0000 (12:25 +0000)]
Renamed verbose to opt_verbose.

19 years agoRenamed opt_verbose'
twisti [Thu, 18 Nov 2004 12:22:20 +0000 (12:22 +0000)]
Renamed opt_verbose'

19 years agoUse malloc'd memory in suck_init and suck_start and tried to make it a bit
twisti [Thu, 18 Nov 2004 12:21:44 +0000 (12:21 +0000)]
Use malloc'd memory in suck_init and suck_start and tried to make it a bit
clearer.

19 years agoUse global opt_verbose.
twisti [Thu, 18 Nov 2004 12:20:19 +0000 (12:20 +0000)]
Use global opt_verbose.

19 years ago- #include "nat/java_lang_VMObject.h"
twisti [Thu, 18 Nov 2004 12:19:49 +0000 (12:19 +0000)]
- #include "nat/java_lang_VMObject.h"
- renamed `verbose' to `opt_verbose'

19 years agoFirst try to get a bootstrap-like build process.
twisti [Thu, 18 Nov 2004 12:17:56 +0000 (12:17 +0000)]
First try to get a bootstrap-like build process.

19 years agoUpdated to classpath-0.12.
twisti [Thu, 18 Nov 2004 12:17:04 +0000 (12:17 +0000)]
Updated to classpath-0.12.

19 years agoThis one should be generated by cacaoh.
twisti [Thu, 18 Nov 2004 12:15:51 +0000 (12:15 +0000)]
This one should be generated by cacaoh.

19 years agoAdded unneeded .h files to CLEANFILES.
twisti [Thu, 18 Nov 2004 12:13:36 +0000 (12:13 +0000)]
Added unneeded .h files to CLEANFILES.

19 years ago- include path fixes
twisti [Thu, 18 Nov 2004 12:12:05 +0000 (12:12 +0000)]
- include path fixes
- renamed `verbose' to `opt_verbose'

19 years agoRemoved unused include.
twisti [Thu, 18 Nov 2004 10:40:43 +0000 (10:40 +0000)]
Removed unused include.

19 years ago- removed 2nd jni_init()
twisti [Thu, 18 Nov 2004 10:39:18 +0000 (10:39 +0000)]
- removed 2nd jni_init()
- call System.exit instead of Runtime.exit (smaller code)
- better exit status handling

19 years agoTeach cacaoh -help, -version and -verbose.
twisti [Thu, 18 Nov 2004 10:38:05 +0000 (10:38 +0000)]
Teach cacaoh -help, -version and -verbose.

19 years ago- removed unused include
twisti [Thu, 18 Nov 2004 10:37:24 +0000 (10:37 +0000)]
- removed unused include
- warning fixes

19 years agoUse cacao types instead of int and long.
twisti [Thu, 18 Nov 2004 10:30:43 +0000 (10:30 +0000)]
Use cacao types instead of int and long.

19 years agoUse maxlocals, exceptiontable* from codegendata instead of methodinfo
christian [Wed, 17 Nov 2004 20:45:56 +0000 (20:45 +0000)]
Use maxlocals, exceptiontable* from codegendata instead of methodinfo

19 years agocodegendata an optimize_loops ��bergeben
christian [Wed, 17 Nov 2004 20:43:28 +0000 (20:43 +0000)]
codegendata an optimize_loops ��bergeben

19 years agoTeach cacaoh to understand -d <dir> to install generated header files into
twisti [Wed, 17 Nov 2004 17:19:14 +0000 (17:19 +0000)]
Teach cacaoh to understand -d <dir> to install generated header files into
a destination directory. Default is `.'.

19 years agoA-better-version 1.0.
twisti [Wed, 17 Nov 2004 17:06:12 +0000 (17:06 +0000)]
A-better-version 1.0.

19 years agoTest case for native/jni function call arguments. Release 0.01.
twisti [Wed, 17 Nov 2004 16:48:43 +0000 (16:48 +0000)]
Test case for native/jni function call arguments. Release 0.01.

19 years ago#include "arch.h"
twisti [Wed, 17 Nov 2004 15:50:27 +0000 (15:50 +0000)]
#include "arch.h"

19 years agoMoved architecture stuff into arch.h.
twisti [Wed, 17 Nov 2004 15:49:58 +0000 (15:49 +0000)]
Moved architecture stuff into arch.h.

19 years agoHopefully correct version of the argument-block-to-register copy algorithm.
twisti [Wed, 17 Nov 2004 15:49:32 +0000 (15:49 +0000)]
Hopefully correct version of the argument-block-to-register copy algorithm.
Much better than the previous one.

19 years ago- moved architecture features into arch.h
twisti [Wed, 17 Nov 2004 15:48:29 +0000 (15:48 +0000)]
- moved architecture features into arch.h
- added gnu header and emacs tailer

19 years agoDefine architecture dependent stuff here (mostly from types.h and
twisti [Wed, 17 Nov 2004 15:47:52 +0000 (15:47 +0000)]
Define architecture dependent stuff here (mostly from types.h and
codegen.h).

19 years ago1. step of implementing asm_calljavafunction2 argument block resolving
twisti [Wed, 17 Nov 2004 12:49:38 +0000 (12:49 +0000)]
1. step of implementing asm_calljavafunction2 argument block resolving
(we should _really_ rename this function ;-).

19 years agonew file for class path
stefan [Wed, 17 Nov 2004 12:06:32 +0000 (12:06 +0000)]
new file for class path

19 years agoRemoved gc function definitions.
twisti [Wed, 17 Nov 2004 11:55:24 +0000 (11:55 +0000)]
Removed gc function definitions.

19 years agoInclude path fix.
twisti [Wed, 17 Nov 2004 11:54:55 +0000 (11:54 +0000)]
Include path fix.

19 years agoInclude path fixes.
twisti [Wed, 17 Nov 2004 11:54:13 +0000 (11:54 +0000)]
Include path fixes.

19 years agoWarning fixes.
twisti [Wed, 17 Nov 2004 11:53:56 +0000 (11:53 +0000)]
Warning fixes.

19 years ago- warning fix
twisti [Wed, 17 Nov 2004 11:53:23 +0000 (11:53 +0000)]
- warning fix
- include path fix

19 years ago- fix a nullpointerexception
twisti [Wed, 17 Nov 2004 11:52:46 +0000 (11:52 +0000)]
- fix a nullpointerexception
- started to check more exceptions in native/jni calls

19 years agoWarning fix.
twisti [Wed, 17 Nov 2004 11:45:46 +0000 (11:45 +0000)]
Warning fix.

19 years agoJust some indent.
twisti [Wed, 17 Nov 2004 11:45:31 +0000 (11:45 +0000)]
Just some indent.

19 years agoWarning fixes.
twisti [Wed, 17 Nov 2004 11:34:13 +0000 (11:34 +0000)]
Warning fixes.

19 years ago-ansi warning fixes.
twisti [Wed, 17 Nov 2004 11:33:44 +0000 (11:33 +0000)]
-ansi warning fixes.

19 years agoICMD_IF_L* zur Erstellung der "adjacency list for control flow graph(c_dTable) hinzug...
christian [Wed, 17 Nov 2004 07:23:45 +0000 (07:23 +0000)]
ICMD_IF_L* zur Erstellung der "adjacency list for control flow graph(c_dTable) hinzugef��gt

19 years agorta invoke interface updates
carolyn [Mon, 15 Nov 2004 08:34:10 +0000 (08:34 +0000)]
rta invoke interface updates

19 years agoskip new instructions for now
jowenn [Sun, 14 Nov 2004 17:02:15 +0000 (17:02 +0000)]
skip new instructions for now

19 years ago2 new icmds, new exception table ordering for inlining, exception handler fix for...
jowenn [Sun, 14 Nov 2004 14:48:49 +0000 (14:48 +0000)]
2 new icmds, new exception table ordering for inlining, exception handler fix for synchronized methods, one typecheck test temporarily disabled for the inlining case

19 years agobetter exit with status, instead of hardcoded one
jowenn [Sun, 14 Nov 2004 14:15:58 +0000 (14:15 +0000)]
better exit with status, instead of hardcoded one

19 years agoexit with an error code of 1 if cacao exits because of an uncaught exception
jowenn [Sun, 14 Nov 2004 13:46:29 +0000 (13:46 +0000)]
exit with an error code of 1 if cacao exits because of an  uncaught exception

19 years agoc89 fix.
twisti [Sun, 14 Nov 2004 12:58:52 +0000 (12:58 +0000)]
c89 fix.

19 years agofix // comment
motse [Fri, 12 Nov 2004 18:32:57 +0000 (18:32 +0000)]
fix // comment

19 years agoUse exception generating functions.
twisti [Fri, 12 Nov 2004 16:36:13 +0000 (16:36 +0000)]
Use exception generating functions.

19 years ago-ansi -pedantic bug fixes.
twisti [Fri, 12 Nov 2004 16:35:44 +0000 (16:35 +0000)]
-ansi -pedantic bug fixes.

19 years agoInclude <sys/types.h> on darwin before <sys/mman.h>, this is a bug fix for
twisti [Fri, 12 Nov 2004 15:52:35 +0000 (15:52 +0000)]
Include <sys/types.h> on darwin before <sys/mman.h>, this is a bug fix for
-ansi compilation.