cacao.git
20 years agoDefine asm_check_clinit for static clinit.
twisti [Tue, 30 Dec 2003 21:35:46 +0000 (21:35 +0000)]
Define asm_check_clinit for static clinit.

20 years ago- generate classinfo initialized offset
twisti [Tue, 30 Dec 2003 20:54:57 +0000 (20:54 +0000)]
- generate classinfo initialized offset
- warning fix

20 years ago- made code more readable
twisti [Tue, 30 Dec 2003 12:45:28 +0000 (12:45 +0000)]
- made code more readable
- fixed break bug in jni_method_invokeNativeHelper

20 years agocomment
edwin [Mon, 22 Dec 2003 10:08:22 +0000 (10:08 +0000)]
comment

20 years agoWarning fixes.
twisti [Sun, 21 Dec 2003 13:56:27 +0000 (13:56 +0000)]
Warning fixes.

20 years agofurther comments
edwin [Wed, 17 Dec 2003 14:39:49 +0000 (14:39 +0000)]
further comments

20 years agofurther comments
edwin [Wed, 17 Dec 2003 14:27:52 +0000 (14:27 +0000)]
further comments

20 years agocomments and better error messages
edwin [Wed, 17 Dec 2003 14:11:00 +0000 (14:11 +0000)]
comments and better error messages

20 years agoadded -classpath .
edwin [Tue, 16 Dec 2003 23:14:25 +0000 (23:14 +0000)]
added -classpath .

20 years agoadded -classpath .
edwin [Tue, 16 Dec 2003 23:05:54 +0000 (23:05 +0000)]
added -classpath .

20 years agoadded -noverify option
edwin [Tue, 16 Dec 2003 22:47:59 +0000 (22:47 +0000)]
added -noverify option

20 years agomake dump_alloc work for oversized blocks
edwin [Tue, 16 Dec 2003 22:30:41 +0000 (22:30 +0000)]
make dump_alloc work for oversized blocks

20 years agocomments
edwin [Tue, 16 Dec 2003 22:29:54 +0000 (22:29 +0000)]
comments

20 years agoadded stack overflow checking and comments
edwin [Tue, 16 Dec 2003 22:29:21 +0000 (22:29 +0000)]
added stack overflow checking and comments

20 years agobuiltin table fixes and loging
edwin [Tue, 16 Dec 2003 22:28:18 +0000 (22:28 +0000)]
builtin table fixes and loging

20 years agoremoved c++ comment
edwin [Tue, 16 Dec 2003 22:27:52 +0000 (22:27 +0000)]
removed c++ comment

20 years agouse loging functions
edwin [Tue, 16 Dec 2003 19:29:19 +0000 (19:29 +0000)]
use loging functions

20 years agosafe methodindent--
edwin [Tue, 16 Dec 2003 18:50:39 +0000 (18:50 +0000)]
safe methodindent--

20 years agoremoved c++ comments
edwin [Tue, 16 Dec 2003 18:49:52 +0000 (18:49 +0000)]
removed c++ comments

20 years agopointer cast bugfix
edwin [Tue, 16 Dec 2003 18:49:19 +0000 (18:49 +0000)]
pointer cast bugfix

20 years agovftbl argument for builtin_arrayinstanceof
edwin [Tue, 16 Dec 2003 15:46:40 +0000 (15:46 +0000)]
vftbl argument for builtin_arrayinstanceof

20 years agofixed builtin problem on alpha
edwin [Tue, 16 Dec 2003 14:46:55 +0000 (14:46 +0000)]
fixed builtin problem on alpha

20 years agoallow throwing across JSR boundaries
edwin [Mon, 15 Dec 2003 18:45:28 +0000 (18:45 +0000)]
allow throwing across JSR boundaries

20 years agoshow_icmd bugfix
edwin [Mon, 15 Dec 2003 18:20:31 +0000 (18:20 +0000)]
show_icmd bugfix

20 years agoDUP2_X2 bugfix
edwin [Mon, 15 Dec 2003 17:05:59 +0000 (17:05 +0000)]
DUP2_X2 bugfix

20 years ago- warning fixes
twisti [Mon, 15 Dec 2003 16:34:26 +0000 (16:34 +0000)]
- warning fixes
- made some code more readable

20 years agoRemoved heap_addreference calls.
twisti [Mon, 15 Dec 2003 16:13:57 +0000 (16:13 +0000)]
Removed heap_addreference calls.

20 years agoC standard compile fix.
twisti [Mon, 15 Dec 2003 16:00:24 +0000 (16:00 +0000)]
C standard compile fix.

20 years ago64-bit warning fixes.
twisti [Mon, 15 Dec 2003 15:47:09 +0000 (15:47 +0000)]
64-bit warning fixes.

20 years agoCompile fix.
twisti [Mon, 15 Dec 2003 15:24:44 +0000 (15:24 +0000)]
Compile fix.

20 years agobugfix
edwin [Sun, 14 Dec 2003 21:59:53 +0000 (21:59 +0000)]
bugfix

20 years agoNative threads
stefan [Sun, 14 Dec 2003 18:11:35 +0000 (18:11 +0000)]
Native threads

20 years agoMore macros
stefan [Sun, 14 Dec 2003 14:54:33 +0000 (14:54 +0000)]
More macros

20 years agoCleaned up cast lock, actually working now
stefan [Sun, 14 Dec 2003 14:53:30 +0000 (14:53 +0000)]
Cleaned up cast lock, actually working now

20 years agoAdded code macros:
twisti [Sun, 14 Dec 2003 13:38:14 +0000 (13:38 +0000)]
Added code macros:
- i386_lock
- i386_mov_mem_reg
- i386_dec_mem
- i386_xadd_reg_mem

20 years agosafe error(...) call
edwin [Sun, 14 Dec 2003 12:57:05 +0000 (12:57 +0000)]
safe error(...) call

20 years agoNative threads
stefan [Sun, 14 Dec 2003 12:55:27 +0000 (12:55 +0000)]
Native threads

20 years agoCheck error(...) and .inc files
edwin [Sun, 14 Dec 2003 12:50:38 +0000 (12:50 +0000)]
Check error(...) and .inc files

20 years agoadded check for illegal opcode 186
edwin [Sun, 14 Dec 2003 12:24:02 +0000 (12:24 +0000)]
added check for illegal opcode 186

20 years agoGet rid of asm_javacallmethod
stefan [Sat, 13 Dec 2003 23:11:08 +0000 (23:11 +0000)]
Get rid of asm_javacallmethod

20 years agoMissing dependency added
stefan [Sat, 13 Dec 2003 23:08:38 +0000 (23:08 +0000)]
Missing dependency added

20 years ago- added gnu header, emacs tailer
twisti [Sat, 13 Dec 2003 23:04:49 +0000 (23:04 +0000)]
- added gnu header, emacs tailer
- code indent
- don't return NoClassDefFoundError in forName(), a ClassNotfoundException
  is expected

20 years ago- added i386 scratch register stuff
twisti [Sat, 13 Dec 2003 22:56:53 +0000 (22:56 +0000)]
- added i386 scratch register stuff
- code indent

20 years agoExport reg_setup
twisti [Sat, 13 Dec 2003 22:53:49 +0000 (22:53 +0000)]
Export reg_setup

20 years ago- most important: exchanged REG_ITMP2 and REG_ITMP3, because we try to use
twisti [Sat, 13 Dec 2003 22:52:32 +0000 (22:52 +0000)]
- most important: exchanged REG_ITMP2 and REG_ITMP3, because we try to use
  REG_ITMP3 as scratch register, if it's not used (right now, in the whole
  function, this will be changed)
- CALCOFFSETBYTES and CALCIMMEDIATEBYTES fixes

20 years agoWe do have SUPPORT_IFCVT and SUPPORT_FICVT.
twisti [Sat, 13 Dec 2003 22:49:18 +0000 (22:49 +0000)]
We do have SUPPORT_IFCVT and SUPPORT_FICVT.

20 years ago- warning fix
twisti [Sat, 13 Dec 2003 22:48:23 +0000 (22:48 +0000)]
- warning fix
- added a helper function

20 years ago- added gnu header and emacs tailer
twisti [Sat, 13 Dec 2003 22:47:44 +0000 (22:47 +0000)]
- added gnu header and emacs tailer
- changes in the nat handling code

20 years ago- changes reg_init
twisti [Sat, 13 Dec 2003 22:42:03 +0000 (22:42 +0000)]
- changes reg_init
- added reg_setup
- some i386 stuff

20 years ago- removed command line option variables
twisti [Sat, 13 Dec 2003 22:39:25 +0000 (22:39 +0000)]
- removed command line option variables
- some i386 stuff

20 years ago- usage of imm_union in struct instruction
twisti [Sat, 13 Dec 2003 22:38:03 +0000 (22:38 +0000)]
- usage of imm_union in struct instruction
- define some i386 stuff

20 years agoGet rid of asm_javacallmethod
stefan [Sat, 13 Dec 2003 22:36:08 +0000 (22:36 +0000)]
Get rid of asm_javacallmethod

20 years ago- made code more readable (this one is big!)
twisti [Sat, 13 Dec 2003 22:30:00 +0000 (22:30 +0000)]
- made code more readable (this one is big!)
- removed command line option variables

20 years agoRemoved command line option variables.
twisti [Sat, 13 Dec 2003 22:27:31 +0000 (22:27 +0000)]
Removed command line option variables.

20 years ago- added class_java_lang_NoClassDefFoundError
twisti [Sat, 13 Dec 2003 22:26:17 +0000 (22:26 +0000)]
- added class_java_lang_NoClassDefFoundError
- javastring_new and javastring_new_char return now java_lang_String* (i
  hope this works as expected)

20 years ago- added class_java_lang_NoClassDefFoundError
twisti [Sat, 13 Dec 2003 22:25:24 +0000 (22:25 +0000)]
- added class_java_lang_NoClassDefFoundError
- made code more readable
- javastring_new and javastring_new_char return now java_lang_String* (i
  hope this works as expected)

20 years agoRemoved some needless defines.
twisti [Sat, 13 Dec 2003 22:23:01 +0000 (22:23 +0000)]
Removed some needless defines.

20 years ago- made some code more readable
twisti [Sat, 13 Dec 2003 22:22:09 +0000 (22:22 +0000)]
- made some code more readable
- warning fix

20 years agoCan't remember, but made some compiling problems.
twisti [Sat, 13 Dec 2003 22:21:01 +0000 (22:21 +0000)]
Can't remember, but made some compiling problems.

20 years agoRemoved heap_addreference.
twisti [Sat, 13 Dec 2003 22:20:33 +0000 (22:20 +0000)]
Removed heap_addreference.

20 years agoJust in case, make getcputime return s8.
twisti [Sat, 13 Dec 2003 22:17:44 +0000 (22:17 +0000)]
Just in case, make getcputime return s8.

20 years agoDefine command line option variables.
twisti [Sat, 13 Dec 2003 22:14:42 +0000 (22:14 +0000)]
Define command line option variables.

20 years ago- put all command line option variables here
twisti [Sat, 13 Dec 2003 22:13:59 +0000 (22:13 +0000)]
- put all command line option variables here
- code beautify
- removed heap_addreference
- print better exceptions

20 years agoCode beautify.
twisti [Sat, 13 Dec 2003 22:10:17 +0000 (22:10 +0000)]
Code beautify.

20 years agoRemoved heap_addreference.
twisti [Sat, 13 Dec 2003 22:09:31 +0000 (22:09 +0000)]
Removed heap_addreference.

20 years ago- added command line option variables
twisti [Sat, 13 Dec 2003 22:05:02 +0000 (22:05 +0000)]
- added command line option variables
- throw_noclassdeffounderror_message

20 years agoNative threads
stefan [Sat, 13 Dec 2003 20:53:53 +0000 (20:53 +0000)]
Native threads

20 years agoNative threads
stefan [Sat, 13 Dec 2003 20:47:11 +0000 (20:47 +0000)]
Native threads

20 years agoNative threads
stefan [Sat, 13 Dec 2003 20:25:05 +0000 (20:25 +0000)]
Native threads

20 years agoMissing ifdef added
stefan [Sat, 13 Dec 2003 20:07:41 +0000 (20:07 +0000)]
Missing ifdef added

20 years agoFixed loader crash
stefan [Sat, 13 Dec 2003 19:57:12 +0000 (19:57 +0000)]
Fixed loader crash

20 years agoAdded GCFREE
stefan [Sat, 13 Dec 2003 18:52:21 +0000 (18:52 +0000)]
Added GCFREE

20 years agoAdded GCFREE
stefan [Sat, 13 Dec 2003 18:41:27 +0000 (18:41 +0000)]
Added GCFREE

20 years agoNative threads
stefan [Sat, 13 Dec 2003 18:19:19 +0000 (18:19 +0000)]
Native threads

20 years agoDon't rebuild everything all the time
stefan [Sat, 13 Dec 2003 15:52:46 +0000 (15:52 +0000)]
Don't rebuild everything all the time

20 years agoWe don't need that
stefan [Sat, 13 Dec 2003 15:47:47 +0000 (15:47 +0000)]
We don't need that

20 years agoAdded option to omit header file generation
stefan [Sat, 13 Dec 2003 12:39:47 +0000 (12:39 +0000)]
Added option to omit header file generation

20 years agoThis is still only C!
stefan [Fri, 12 Dec 2003 17:29:40 +0000 (17:29 +0000)]
This is still only C!

20 years agoDid not compile on alpha
stefan [Fri, 12 Dec 2003 17:23:15 +0000 (17:23 +0000)]
Did not compile on alpha

20 years ago*** empty log message ***
stefan [Fri, 12 Dec 2003 17:18:07 +0000 (17:18 +0000)]
*** empty log message ***

20 years agofixed loging crash caused by printf
edwin [Thu, 11 Dec 2003 21:23:31 +0000 (21:23 +0000)]
fixed loging crash caused by printf
made loging safer
added check_dangerous_printf.pl script

20 years agodo BasicToStrings automatically
edwin [Thu, 11 Dec 2003 11:43:57 +0000 (11:43 +0000)]
do BasicToStrings automatically

20 years agodocumented new builtin table
edwin [Thu, 11 Dec 2003 11:11:05 +0000 (11:11 +0000)]
documented new builtin table
made builtintablelen static again

20 years agochanged builtin table layout
edwin [Thu, 11 Dec 2003 10:52:40 +0000 (10:52 +0000)]
changed builtin table layout
typecheck for all builtins

20 years agodetect branches to middle of instruction
edwin [Wed, 10 Dec 2003 15:41:07 +0000 (15:41 +0000)]
detect branches to middle of instruction
detect WIDE followed by incompatible opcode
typechecks for builtin functions
typecheck statistics

20 years agoadded end-of-bytecode check
edwin [Wed, 10 Dec 2003 00:24:36 +0000 (00:24 +0000)]
added end-of-bytecode check
fixed stack-underflow check
added variable index check

20 years agoadded UTF-8 validation
edwin [Tue, 9 Dec 2003 18:56:11 +0000 (18:56 +0000)]
added UTF-8 validation
made descriptor parsing safer
added stack underflow checks
added end-of-file checks in loader.c
added detection for infinite linking loops
bugfixes
new functions: type_from_descriptor, loader_load_sysclass, class_fetchmethod

20 years agomade descriptor parsing safer + array classes fix
edwin [Mon, 8 Dec 2003 19:51:32 +0000 (19:51 +0000)]
made descriptor parsing safer + array classes fix

20 years agominor change in descriptor parsing macros
edwin [Mon, 8 Dec 2003 16:02:45 +0000 (16:02 +0000)]
minor change in descriptor parsing macros

20 years agominor change in descriptor parsing macros
edwin [Mon, 8 Dec 2003 15:46:56 +0000 (15:46 +0000)]
minor change in descriptor parsing macros

20 years agoadded #includes and emacs tailer
edwin [Mon, 8 Dec 2003 14:44:40 +0000 (14:44 +0000)]
added #includes and emacs tailer

20 years agoadded uninitialized object typecheck
edwin [Mon, 8 Dec 2003 14:26:05 +0000 (14:26 +0000)]
added uninitialized object typecheck

20 years agoarray out of memory fixlet, InvocationTargetException handling, less debug output...
jowenn [Mon, 8 Dec 2003 13:03:43 +0000 (13:03 +0000)]
array out of memory fixlet, InvocationTargetException handling, less debug output, removal of unneded code in the i386jit

20 years agoDefine immediate union.
twisti [Sun, 7 Dec 2003 22:02:19 +0000 (22:02 +0000)]
Define immediate union.

20 years ago- removed usage of native-math.h
twisti [Sun, 7 Dec 2003 21:59:12 +0000 (21:59 +0000)]
- removed usage of native-math.h
- code beautify

20 years agoNow defined in builtin.h
twisti [Sun, 7 Dec 2003 21:56:20 +0000 (21:56 +0000)]
Now defined in builtin.h

20 years agoimplemented helper function asmprintf
twisti [Sun, 7 Dec 2003 20:41:24 +0000 (20:41 +0000)]
implemented helper function asmprintf

20 years ago- added gnu header
twisti [Sun, 7 Dec 2003 20:40:43 +0000 (20:40 +0000)]
- added gnu header
- implemented asm_calljavafunction2
- usage of offclassvftbl in exception handling code
- implemented helper function asm_printf

20 years agouse again INT_ARG_CNT stuff
twisti [Sun, 7 Dec 2003 20:39:09 +0000 (20:39 +0000)]
use again INT_ARG_CNT stuff

20 years ago- reverted intreg_argnum back to INT_ARG_CNT
twisti [Sun, 7 Dec 2003 20:38:26 +0000 (20:38 +0000)]
- reverted intreg_argnum back to INT_ARG_CNT
- handling of more than 5 params in native stub