twisti [Wed, 17 Nov 2004 11:33:44 +0000 (11:33 +0000)]
-ansi warning fixes.
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
carolyn [Mon, 15 Nov 2004 08:34:10 +0000 (08:34 +0000)]
rta invoke interface updates
jowenn [Sun, 14 Nov 2004 17:02:15 +0000 (17:02 +0000)]
skip new instructions for now
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
jowenn [Sun, 14 Nov 2004 14:15:58 +0000 (14:15 +0000)]
better exit with status, instead of hardcoded one
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
twisti [Sun, 14 Nov 2004 12:58:52 +0000 (12:58 +0000)]
c89 fix.
motse [Fri, 12 Nov 2004 18:32:57 +0000 (18:32 +0000)]
fix // comment
twisti [Fri, 12 Nov 2004 16:36:13 +0000 (16:36 +0000)]
Use exception generating functions.
twisti [Fri, 12 Nov 2004 16:35:44 +0000 (16:35 +0000)]
-ansi -pedantic bug fixes.
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.
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
twisti [Fri, 12 Nov 2004 14:13:44 +0000 (14:13 +0000)]
-ansi -pedantic fixes.
twisti [Fri, 12 Nov 2004 14:05:10 +0000 (14:05 +0000)]
-ansi -pedantic fixes.
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)
twisti [Fri, 12 Nov 2004 13:34:26 +0000 (13:34 +0000)]
-ansi -pedantic fixes.
twisti [Fri, 12 Nov 2004 13:32:50 +0000 (13:32 +0000)]
We do not use c++, so omit -fexceptions.
twisti [Fri, 12 Nov 2004 13:26:03 +0000 (13:26 +0000)]
Removed warnings.
twisti [Fri, 12 Nov 2004 13:25:02 +0000 (13:25 +0000)]
Removed warning: cast s4 to s8 on 64-bit machines.
twisti [Fri, 12 Nov 2004 13:24:14 +0000 (13:24 +0000)]
Removed warning.
twisti [Fri, 12 Nov 2004 11:31:47 +0000 (11:31 +0000)]
#ifdef's for MAP_ANONYMOUS, MAP_ANON and of none is available.
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.
twisti [Fri, 12 Nov 2004 11:25:19 +0000 (11:25 +0000)]
Implemented availableProcessors() for darwin.
twisti [Fri, 12 Nov 2004 10:02:54 +0000 (10:02 +0000)]
ZIP_LIBS in dependencies make some problems.
twisti [Thu, 11 Nov 2004 14:41:42 +0000 (14:41 +0000)]
- compiler data structure changes
- fixed bug in CHECKEXCEPTION handling code
twisti [Thu, 11 Nov 2004 14:40:48 +0000 (14:40 +0000)]
- fixed clinit exceptions
- use exception generating functions
twisti [Thu, 11 Nov 2004 14:40:10 +0000 (14:40 +0000)]
#ifdef #warning (mipspro compiler).
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.
twisti [Thu, 11 Nov 2004 14:37:23 +0000 (14:37 +0000)]
Check for init_system_exceptions errors.
twisti [Thu, 11 Nov 2004 14:37:01 +0000 (14:37 +0000)]
Check for loading/linking errors in init_system_exceptions.
twisti [Thu, 11 Nov 2004 11:16:46 +0000 (11:16 +0000)]
Compiler data structure changes.
twisti [Thu, 11 Nov 2004 11:16:30 +0000 (11:16 +0000)]
Pass registerdata to preregpass.
twisti [Thu, 11 Nov 2004 10:47:04 +0000 (10:47 +0000)]
Part 1 of powerpc changes.
twisti [Thu, 11 Nov 2004 10:31:20 +0000 (10:31 +0000)]
Additional #endif removed.
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.
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
carolyn [Wed, 10 Nov 2004 10:33:59 +0000 (10:33 +0000)]
-inv sets opt_rt=true / moved rtMissed inputs to rtIn directory
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
motse [Tue, 9 Nov 2004 11:54:53 +0000 (11:54 +0000)]
fix delayed jni init for disabled threads build
motse [Mon, 8 Nov 2004 22:57:28 +0000 (22:57 +0000)]
delay jni init til the firt NewGlobalRef call
carolyn [Mon, 8 Nov 2004 21:08:13 +0000 (21:08 +0000)]
update to RT statistics for verbose
twisti [Mon, 8 Nov 2004 13:29:58 +0000 (13:29 +0000)]
Compiler data structure changes.
twisti [Mon, 8 Nov 2004 13:13:00 +0000 (13:13 +0000)]
Removed unused sigcontext.h.
twisti [Mon, 8 Nov 2004 11:24:50 +0000 (11:24 +0000)]
We again use the dump memory in the jit compiler.
twisti [Mon, 8 Nov 2004 11:09:01 +0000 (11:09 +0000)]
Handle properties in a much better and clearer way.
motse [Sat, 6 Nov 2004 22:55:46 +0000 (22:55 +0000)]
remove dummy implementation of GdkGraphics GdkPixbufDecoder native functions
motse [Sat, 6 Nov 2004 21:20:53 +0000 (21:20 +0000)]
add escape character for underscore to codegen_resolve_native
motse [Sat, 6 Nov 2004 15:08:49 +0000 (15:08 +0000)]
correct exception handler range checks
twisti [Fri, 5 Nov 2004 16:23:47 +0000 (16:23 +0000)]
Compiler data structure changes.
twisti [Fri, 5 Nov 2004 16:23:29 +0000 (16:23 +0000)]
Made code patch thread safe in check_clinit.
twisti [Fri, 5 Nov 2004 16:23:02 +0000 (16:23 +0000)]
Removed obsolete %ecx, %edx stuff.
twisti [Fri, 5 Nov 2004 15:33:49 +0000 (15:33 +0000)]
Move typedefs in front of includes to resolve circular dependencies.
twisti [Fri, 5 Nov 2004 15:05:14 +0000 (15:05 +0000)]
Added java.util.VMTimeZone to CLASSES.
twisti [Fri, 5 Nov 2004 14:33:14 +0000 (14:33 +0000)]
Compiler data structure changes. This one is huge!
twisti [Fri, 5 Nov 2004 14:26:35 +0000 (14:26 +0000)]
Check messages of some exceptions.
twisti [Fri, 5 Nov 2004 14:19:32 +0000 (14:19 +0000)]
Adapted reentrant compiler fixes from christian ullrich.
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.
twisti [Fri, 5 Nov 2004 14:16:19 +0000 (14:16 +0000)]
Use new_arrayindexoutofboundsexception.
twisti [Fri, 5 Nov 2004 14:14:15 +0000 (14:14 +0000)]
Again changes concerning compiler data structures. This one is huge!
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
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.
twisti [Fri, 5 Nov 2004 14:06:38 +0000 (14:06 +0000)]
Call Class.getName() to get print the class name in the stacktrace as sun
does.
twisti [Fri, 5 Nov 2004 14:00:22 +0000 (14:00 +0000)]
- made defineClass to work
- handle exceptions in getPrimitiveClass
twisti [Fri, 5 Nov 2004 13:58:25 +0000 (13:58 +0000)]
Implemented throwException. Can't remember but we need it for something
(maybe tomcat).
twisti [Fri, 5 Nov 2004 13:55:33 +0000 (13:55 +0000)]
Throw nullpointer exception in utf_strlen if NULL is passed.
twisti [Fri, 5 Nov 2004 13:54:52 +0000 (13:54 +0000)]
Throw nullpointer exceptions in javastring_new_char, javastring_new if NULL
is passed.
twisti [Fri, 5 Nov 2004 13:53:13 +0000 (13:53 +0000)]
Don't clear removed registerdata.
twisti [Fri, 5 Nov 2004 13:51:49 +0000 (13:51 +0000)]
- removed pointer to jit data structures
- smaller changes
twisti [Fri, 5 Nov 2004 13:44:03 +0000 (13:44 +0000)]
Added new_arraystoreexception for asmpart.
twisti [Fri, 5 Nov 2004 11:31:47 +0000 (11:31 +0000)]
Just a TODO file.
twisti [Fri, 5 Nov 2004 10:00:58 +0000 (10:00 +0000)]
- added dumpinfo into threadobject
- added emacs tailer
twisti [Fri, 5 Nov 2004 09:52:49 +0000 (09:52 +0000)]
Moved stat functions from memory.*.
twisti [Fri, 5 Nov 2004 09:51:07 +0000 (09:51 +0000)]
- removed literal allocate functions
- made dump memory thread save (only with native threads yet!!!)
- moved stat functions into statistics.*
twisti [Fri, 5 Nov 2004 09:49:48 +0000 (09:49 +0000)]
Use normal memory alloc functions instead of removed literal ones.
twisti [Fri, 5 Nov 2004 09:48:33 +0000 (09:48 +0000)]
Changed throw_cacao_exception_exit to support variable arguments (...).
twisti [Fri, 5 Nov 2004 09:46:07 +0000 (09:46 +0000)]
- added global.h include
- removed unused PANICIF
motse [Thu, 4 Nov 2004 16:40:43 +0000 (16:40 +0000)]
nativeLoad remove #ifdef JOWENNDEBUG
jowenn [Wed, 3 Nov 2004 12:14:50 +0000 (12:14 +0000)]
tableswitch index problem solved, jump to wrong instruction of inlined functions after if/else, one typecheck temporarily disabled
twisti [Tue, 2 Nov 2004 15:22:57 +0000 (15:22 +0000)]
Fix for --disable-dynamicclasspath with empty LD_LIBRARY_PATH
jowenn [Tue, 2 Nov 2004 09:00:38 +0000 (09:00 +0000)]
testcase
jowenn [Tue, 2 Nov 2004 08:58:26 +0000 (08:58 +0000)]
dynamic native library loading, some inlining changes
twisti [Mon, 1 Nov 2004 12:23:20 +0000 (12:23 +0000)]
Enable xASTORECONST icmds.
twisti [Mon, 1 Nov 2004 12:22:52 +0000 (12:22 +0000)]
- exceptiontable fixes
- xASTORECONST icmds implemented
twisti [Mon, 1 Nov 2004 12:21:59 +0000 (12:21 +0000)]
gcc-2.x compiler fix.
motse [Sat, 30 Oct 2004 11:26:00 +0000 (11:26 +0000)]
make sure threadobject->tid has always a non-zero value
motse [Sat, 30 Oct 2004 11:15:23 +0000 (11:15 +0000)]
add NewGlobalRef to cacao jni
jowenn [Fri, 29 Oct 2004 14:19:00 +0000 (14:19 +0000)]
make the --disable-__thread check work again
stefan [Fri, 29 Oct 2004 13:21:41 +0000 (13:21 +0000)]
compile fix
stefan [Thu, 28 Oct 2004 14:39:49 +0000 (14:39 +0000)]
compile fix
twisti [Wed, 27 Oct 2004 16:05:14 +0000 (16:05 +0000)]
Reentrant jit compiler changes for powerpc.
carolyn [Thu, 21 Oct 2004 09:59:33 +0000 (09:59 +0000)]
rta update to get rid of debug print
carolyn [Tue, 19 Oct 2004 14:11:58 +0000 (14:11 +0000)]
Left out of RTA update
carolyn [Tue, 19 Oct 2004 12:10:34 +0000 (12:10 +0000)]
*** empty log message ***
carolyn [Tue, 19 Oct 2004 12:07:18 +0000 (12:07 +0000)]
rta rewrite for loader changes
jowenn [Mon, 11 Oct 2004 20:12:08 +0000 (20:12 +0000)]
Fix a crash in the code which tests, if a method is identifyable by name and parameter list. Since len is used for calculations too, the memset didn't fill the whole array with zeros -> invalid method index -> crash
Make inlining work again on i386. Alpha should work, but it is not tested
carolyn [Mon, 4 Oct 2004 12:55:33 +0000 (12:55 +0000)]
inline updates (almost finished) to separate class and other variables merged inadvertantly when global variables removed
stefan [Tue, 24 Aug 2004 19:45:38 +0000 (19:45 +0000)]
there is no "rmb" instruction
twisti [Tue, 17 Aug 2004 19:33:16 +0000 (19:33 +0000)]
Don't print stats twice.
twisti [Tue, 17 Aug 2004 15:04:54 +0000 (15:04 +0000)]
- enhanced and fixed DefineClass
- try to measure loading time correctly