cacao.git
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.

19 years agoIf we compile with -ansi or c89 compilers, we have to define:
twisti [Fri, 12 Nov 2004 14:53:16 +0000 (14:53 +0000)]
If we compile with -ansi or c89 compilers, we have to define:
#define inline __inline

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

19 years ago-ansi -pedantic fixes.
twisti [Fri, 12 Nov 2004 14:05:10 +0000 (14:05 +0000)]
-ansi -pedantic fixes.

19 years ago- use -ansi -pedantic under *linux* and *darwin*
twisti [Fri, 12 Nov 2004 13:37:01 +0000 (13:37 +0000)]
- use -ansi -pedantic under *linux* and *darwin*
- removed unused AC_SUBST(COMPILER_OBJECTS)

19 years ago-ansi -pedantic fixes.
twisti [Fri, 12 Nov 2004 13:34:26 +0000 (13:34 +0000)]
-ansi -pedantic fixes.

19 years agoWe do not use c++, so omit -fexceptions.
twisti [Fri, 12 Nov 2004 13:32:50 +0000 (13:32 +0000)]
We do not use c++, so omit -fexceptions.

19 years agoRemoved warnings.
twisti [Fri, 12 Nov 2004 13:26:03 +0000 (13:26 +0000)]
Removed warnings.

19 years agoRemoved warning: cast s4 to s8 on 64-bit machines.
twisti [Fri, 12 Nov 2004 13:25:02 +0000 (13:25 +0000)]
Removed warning: cast s4 to s8 on 64-bit machines.

19 years agoRemoved warning.
twisti [Fri, 12 Nov 2004 13:24:14 +0000 (13:24 +0000)]
Removed warning.

19 years ago#ifdef's for MAP_ANONYMOUS, MAP_ANON and of none is available.
twisti [Fri, 12 Nov 2004 11:31:47 +0000 (11:31 +0000)]
#ifdef's for MAP_ANONYMOUS, MAP_ANON and of none is available.

19 years agoCheck for MAP_ANON (needed for darwin) and removed MAP_ANONYMOUS defines
twisti [Fri, 12 Nov 2004 11:26:26 +0000 (11:26 +0000)]
Check for MAP_ANON (needed for darwin) and removed MAP_ANONYMOUS defines
in CFLAGS. Made problems with boehm on darwin.

19 years agoImplemented availableProcessors() for darwin.
twisti [Fri, 12 Nov 2004 11:25:19 +0000 (11:25 +0000)]
Implemented availableProcessors() for darwin.

19 years agoZIP_LIBS in dependencies make some problems.
twisti [Fri, 12 Nov 2004 10:02:54 +0000 (10:02 +0000)]
ZIP_LIBS in dependencies make some problems.

19 years ago- compiler data structure changes
twisti [Thu, 11 Nov 2004 14:41:42 +0000 (14:41 +0000)]
- compiler data structure changes
- fixed bug in CHECKEXCEPTION handling code

19 years ago- fixed clinit exceptions
twisti [Thu, 11 Nov 2004 14:40:48 +0000 (14:40 +0000)]
- fixed clinit exceptions
- use exception generating functions

19 years ago#ifdef #warning (mipspro compiler).
twisti [Thu, 11 Nov 2004 14:40:10 +0000 (14:40 +0000)]
#ifdef #warning (mipspro compiler).

19 years agoHandle null pointers in utf_display, utf_display_classname, utf_sprint and
twisti [Thu, 11 Nov 2004 14:39:13 +0000 (14:39 +0000)]
Handle null pointers in utf_display, utf_display_classname, utf_sprint and
utf_sprint_classname.

19 years agoCheck for init_system_exceptions errors.
twisti [Thu, 11 Nov 2004 14:37:23 +0000 (14:37 +0000)]
Check for init_system_exceptions errors.

19 years agoCheck for loading/linking errors in init_system_exceptions.
twisti [Thu, 11 Nov 2004 14:37:01 +0000 (14:37 +0000)]
Check for loading/linking errors in init_system_exceptions.

19 years agoCompiler data structure changes.
twisti [Thu, 11 Nov 2004 11:16:46 +0000 (11:16 +0000)]
Compiler data structure changes.

19 years agoPass registerdata to preregpass.
twisti [Thu, 11 Nov 2004 11:16:30 +0000 (11:16 +0000)]
Pass registerdata to preregpass.

19 years agoPart 1 of powerpc changes.
twisti [Thu, 11 Nov 2004 10:47:04 +0000 (10:47 +0000)]
Part 1 of powerpc changes.

19 years agoAdditional #endif removed.
twisti [Thu, 11 Nov 2004 10:31:20 +0000 (10:31 +0000)]
Additional #endif removed.

19 years agoDefines in reg_of_var for __POWERPC__, so we can remove the version in
twisti [Thu, 11 Nov 2004 10:27:49 +0000 (10:27 +0000)]
Defines in reg_of_var for __POWERPC__, so we can remove the version in
jit/powerpc/codegen.c.

19 years agoinline corrections to if test; PRIVATE now inlined; warning if inlined method flags...
carolyn [Thu, 11 Nov 2004 10:09:10 +0000 (10:09 +0000)]
inline corrections to if test; PRIVATE now inlined; warning if inlined method flags wrong; only inline starting with main; added inline performance test

19 years ago-inv sets opt_rt=true / moved rtMissed inputs to rtIn directory
carolyn [Wed, 10 Nov 2004 10:33:59 +0000 (10:33 +0000)]
-inv sets opt_rt=true / moved rtMissed inputs to rtIn directory

19 years agoinline virtuals update (need to use -rt -inv together) + updated list of methods...
carolyn [Tue, 9 Nov 2004 15:56:54 +0000 (15:56 +0000)]
inline virtuals update (need to use -rt -inv together) + updated list of methods missed, but always called

19 years agofix delayed jni init for disabled threads build
motse [Tue, 9 Nov 2004 11:54:53 +0000 (11:54 +0000)]
fix delayed jni init for disabled threads build

19 years agodelay jni init til the firt NewGlobalRef call
motse [Mon, 8 Nov 2004 22:57:28 +0000 (22:57 +0000)]
delay jni init til the firt NewGlobalRef call

19 years agoupdate to RT statistics for verbose
carolyn [Mon, 8 Nov 2004 21:08:13 +0000 (21:08 +0000)]
update to RT statistics for verbose

19 years agoCompiler data structure changes.
twisti [Mon, 8 Nov 2004 13:29:58 +0000 (13:29 +0000)]
Compiler data structure changes.

19 years agoRemoved unused sigcontext.h.
twisti [Mon, 8 Nov 2004 13:13:00 +0000 (13:13 +0000)]
Removed unused sigcontext.h.

19 years agoWe again use the dump memory in the jit compiler.
twisti [Mon, 8 Nov 2004 11:24:50 +0000 (11:24 +0000)]
We again use the dump memory in the jit compiler.

19 years agoHandle properties in a much better and clearer way.
twisti [Mon, 8 Nov 2004 11:09:01 +0000 (11:09 +0000)]
Handle properties in a much better and clearer way.

19 years agoremove dummy implementation of GdkGraphics GdkPixbufDecoder native functions
motse [Sat, 6 Nov 2004 22:55:46 +0000 (22:55 +0000)]
remove dummy implementation of GdkGraphics GdkPixbufDecoder native functions

19 years agoadd escape character for underscore to codegen_resolve_native
motse [Sat, 6 Nov 2004 21:20:53 +0000 (21:20 +0000)]
add escape character for underscore to codegen_resolve_native

19 years agocorrect exception handler range checks
motse [Sat, 6 Nov 2004 15:08:49 +0000 (15:08 +0000)]
correct exception handler range checks

19 years agoCompiler data structure changes.
twisti [Fri, 5 Nov 2004 16:23:47 +0000 (16:23 +0000)]
Compiler data structure changes.

19 years agoMade code patch thread safe in check_clinit.
twisti [Fri, 5 Nov 2004 16:23:29 +0000 (16:23 +0000)]
Made code patch thread safe in check_clinit.

19 years agoRemoved obsolete %ecx, %edx stuff.
twisti [Fri, 5 Nov 2004 16:23:02 +0000 (16:23 +0000)]
Removed obsolete %ecx, %edx stuff.

19 years agoMove typedefs in front of includes to resolve circular dependencies.
twisti [Fri, 5 Nov 2004 15:33:49 +0000 (15:33 +0000)]
Move typedefs in front of includes to resolve circular dependencies.

19 years agoAdded java.util.VMTimeZone to CLASSES.
twisti [Fri, 5 Nov 2004 15:05:14 +0000 (15:05 +0000)]
Added java.util.VMTimeZone to CLASSES.

19 years agoCompiler data structure changes. This one is huge!
twisti [Fri, 5 Nov 2004 14:33:14 +0000 (14:33 +0000)]
Compiler data structure changes. This one is huge!

19 years agoCheck messages of some exceptions.
twisti [Fri, 5 Nov 2004 14:26:35 +0000 (14:26 +0000)]
Check messages of some exceptions.

19 years agoAdapted reentrant compiler fixes from christian ullrich.
twisti [Fri, 5 Nov 2004 14:19:32 +0000 (14:19 +0000)]
Adapted reentrant compiler fixes from christian ullrich.

19 years agoUse exception functions to generate inline exception. This leads to smaller
twisti [Fri, 5 Nov 2004 14:18:13 +0000 (14:18 +0000)]
Use exception functions to generate inline exception. This leads to smaller
code size.

19 years agoUse new_arrayindexoutofboundsexception.
twisti [Fri, 5 Nov 2004 14:16:19 +0000 (14:16 +0000)]
Use new_arrayindexoutofboundsexception.

19 years agoAgain changes concerning compiler data structures. This one is huge!
twisti [Fri, 5 Nov 2004 14:14:15 +0000 (14:14 +0000)]
Again changes concerning compiler data structures. This one is huge!

19 years ago- made code patching thread safe in check_clinit (use only 1 move)
twisti [Fri, 5 Nov 2004 14:13:05 +0000 (14:13 +0000)]
- made code patching thread safe in check_clinit (use only 1 move)
- use exception functions

19 years agoAhm, umh, just a commit to move my changes into cvs to implement it
twisti [Fri, 5 Nov 2004 14:08:48 +0000 (14:08 +0000)]
Ahm, umh, just a commit to move my changes into cvs to implement it
correctly.