cacao.git
19 years ago- added asm_calljavafunction_int
twisti [Wed, 30 Mar 2005 20:18:51 +0000 (20:18 +0000)]
- added asm_calljavafunction_int
- call proper class load/link functions

19 years agoTwo ICMD_PUT{STATIC,FIELD}CONST bugfixes.
twisti [Wed, 30 Mar 2005 20:18:18 +0000 (20:18 +0000)]
Two ICMD_PUT{STATIC,FIELD}CONST bugfixes.

19 years agoCall proper class load/link functions.
twisti [Wed, 30 Mar 2005 20:14:10 +0000 (20:14 +0000)]
Call proper class load/link functions.

19 years agoCall proper class load/link functions.
twisti [Wed, 30 Mar 2005 20:08:53 +0000 (20:08 +0000)]
Call proper class load/link functions.

19 years agoMoved LAZYLOADING* from loader.h
twisti [Wed, 30 Mar 2005 20:08:29 +0000 (20:08 +0000)]
Moved LAZYLOADING* from loader.h

19 years agoRemoved unnecessary stdlib.h include.
twisti [Wed, 30 Mar 2005 20:07:27 +0000 (20:07 +0000)]
Removed unnecessary stdlib.h include.

19 years agoAdded utf_java_lang_NoClassDefFoundError: : required in native vm class
twisti [Wed, 30 Mar 2005 20:06:37 +0000 (20:06 +0000)]
Added utf_java_lang_NoClassDefFoundError: : required in native vm class
loading functions.

19 years agoRemoved CLASS_IS_ARRAY macro.x
twisti [Wed, 30 Mar 2005 20:05:55 +0000 (20:05 +0000)]
Removed CLASS_IS_ARRAY macro.x

19 years agoLink primitive type wrapper classes in linker_init.
twisti [Wed, 30 Mar 2005 20:05:03 +0000 (20:05 +0000)]
Link primitive type wrapper classes in linker_init.

19 years agoLoad primitive type wrapper classes in loader_init.
twisti [Wed, 30 Mar 2005 20:04:42 +0000 (20:04 +0000)]
Load primitive type wrapper classes in loader_init.

19 years agoMoved LAZYLOADING* to xta header.
twisti [Wed, 30 Mar 2005 20:03:06 +0000 (20:03 +0000)]
Moved LAZYLOADING* to xta header.

19 years agoAdded class_java_lang_NoClassDefFoundError: required in native vm class
twisti [Wed, 30 Mar 2005 19:30:05 +0000 (19:30 +0000)]
Added class_java_lang_NoClassDefFoundError: required in native vm class
loading functions.

19 years agoUse proper class load and link functions.
twisti [Wed, 30 Mar 2005 19:28:40 +0000 (19:28 +0000)]
Use proper class load and link functions.

19 years ago- proper link_class call
twisti [Wed, 30 Mar 2005 19:27:47 +0000 (19:27 +0000)]
- proper link_class call
- moved primitive wrapper type loading/linking to {loader,linker}_init

19 years agoSet classloader in DefineClass.
twisti [Wed, 30 Mar 2005 19:16:55 +0000 (19:16 +0000)]
Set classloader in DefineClass.

19 years agoForward typedef dumpblock and dumpinfo.
twisti [Wed, 30 Mar 2005 19:12:21 +0000 (19:12 +0000)]
Forward typedef dumpblock and dumpinfo.

19 years agoUse proper class load and link functions.
twisti [Wed, 30 Mar 2005 16:49:40 +0000 (16:49 +0000)]
Use proper class load and link functions.

19 years ago- added new_internalerror (TODO: use get_variable_message_length, if i get
twisti [Wed, 30 Mar 2005 16:47:35 +0000 (16:47 +0000)]
- added new_internalerror (TODO: use get_variable_message_length, if i get
  some time for it...)
- use proper class load and link functions

19 years agoClass loading and linking changes (use proper functions).
twisti [Wed, 30 Mar 2005 16:44:24 +0000 (16:44 +0000)]
Class loading and linking changes (use proper functions).

19 years agoRemoved deprecated .globl defines: asm_builtin_checkcast, asm_builtin_anewarray,...
twisti [Wed, 30 Mar 2005 12:55:26 +0000 (12:55 +0000)]
Removed deprecated .globl defines: asm_builtin_checkcast, asm_builtin_anewarray, asm_builtin_newarray_array

19 years agoRemoved unused .globl defines (from i386): asm_builtin_anewarray, asm_builtin_newarra...
twisti [Wed, 30 Mar 2005 12:55:00 +0000 (12:55 +0000)]
Removed unused .globl defines (from i386): asm_builtin_anewarray, asm_builtin_newarray_array, asm_builtin_arrayinstanceof

19 years agoRemoved deprecated .globl defines: asm_builtin_trace, asm_builtin_exittrace
twisti [Wed, 30 Mar 2005 12:54:14 +0000 (12:54 +0000)]
Removed deprecated .globl defines: asm_builtin_trace, asm_builtin_exittrace

19 years agoRemoved deprecated .globl defines: asm_builtin_checkcast, asm_builtin_trace, asm_buil...
twisti [Wed, 30 Mar 2005 12:53:56 +0000 (12:53 +0000)]
Removed deprecated .globl defines: asm_builtin_checkcast, asm_builtin_trace, asm_builtin_exittrace

19 years agoRemoved deprecated prototypes.
twisti [Wed, 30 Mar 2005 12:51:58 +0000 (12:51 +0000)]
Removed deprecated prototypes.

19 years ago- added asm_builtin_new (how did this work?)
twisti [Wed, 30 Mar 2005 12:32:06 +0000 (12:32 +0000)]
- added asm_builtin_new (how did this work?)
- include proper headers
- changed asmpart function defines

19 years agoAdded proper header includes.
twisti [Wed, 30 Mar 2005 10:24:10 +0000 (10:24 +0000)]
Added proper header includes.

19 years agoRemoved ProtectionDomain stuff, this is done via gnu classpath.
twisti [Wed, 30 Mar 2005 10:23:47 +0000 (10:23 +0000)]
Removed ProtectionDomain stuff, this is done via gnu classpath.

19 years agoRemoved ProtectionDomain stuff, this is done through gnu classpath.
twisti [Wed, 30 Mar 2005 10:18:38 +0000 (10:18 +0000)]
Removed ProtectionDomain stuff, this is done through gnu classpath.

19 years agoAdded: utf_strcat_classname
twisti [Wed, 30 Mar 2005 10:03:03 +0000 (10:03 +0000)]
Added: utf_strcat_classname

19 years agoMoved builtin table stuff to builtin.[ch]
twisti [Wed, 30 Mar 2005 09:55:26 +0000 (09:55 +0000)]
Moved builtin table stuff to builtin.[ch]

19 years agoMoved builtin table stuff from jit.c
twisti [Wed, 30 Mar 2005 09:54:28 +0000 (09:54 +0000)]
Moved builtin table stuff from jit.c

19 years agoDon't use fixed buffer length for log_message_class and log_message_method
twisti [Wed, 30 Mar 2005 09:49:41 +0000 (09:49 +0000)]
Don't use fixed buffer length for log_message_class and log_message_method
(todo: change other functions too).

19 years agoReplaced class_load with class_load_extern (this is not finished yet).
twisti [Tue, 29 Mar 2005 22:46:05 +0000 (22:46 +0000)]
Replaced class_load with class_load_extern (this is not finished yet).

19 years ago- added linker_init() call
twisti [Tue, 29 Mar 2005 22:34:19 +0000 (22:34 +0000)]
- added linker_init() call
- check for exceptions in _init() calls

19 years agoAdded additional files.
twisti [Tue, 29 Mar 2005 22:30:51 +0000 (22:30 +0000)]
Added additional files.

19 years agoAdded header includes: field, method
twisti [Tue, 29 Mar 2005 22:27:08 +0000 (22:27 +0000)]
Added header includes: field, method

19 years agoChanged header includes.
twisti [Tue, 29 Mar 2005 22:25:59 +0000 (22:25 +0000)]
Changed header includes.

19 years agoAdded get_variable_message_length: this function determines the buffer size
twisti [Tue, 29 Mar 2005 22:24:34 +0000 (22:24 +0000)]
Added get_variable_message_length: this function determines the buffer size
required by e.g. vnsprintf

19 years ago- changes header includes
twisti [Tue, 29 Mar 2005 22:21:46 +0000 (22:21 +0000)]
- changes header includes
- use cacao types instead of jni ones

19 years ago- added header includes
twisti [Tue, 29 Mar 2005 22:20:49 +0000 (22:20 +0000)]
- added header includes
- moved function prototypes from jit.h: createcompilerstub,
  createnativestub, removecompilerstub, removenativestub

19 years ago- added header includes
twisti [Tue, 29 Mar 2005 22:18:30 +0000 (22:18 +0000)]
- added header includes
- moved function prototypes to codegen.inc.h: createcompilerstub,
  createnativestub, removecompilerstub, removenativestub

19 years agoMoved stuff from global.h
twisti [Tue, 29 Mar 2005 22:12:32 +0000 (22:12 +0000)]
Moved stuff from global.h

19 years agoInclude proper header files.
twisti [Tue, 29 Mar 2005 22:12:06 +0000 (22:12 +0000)]
Include proper header files.

19 years ago- added constant_classref typedef
twisti [Tue, 29 Mar 2005 22:09:53 +0000 (22:09 +0000)]
- added constant_classref typedef
- removed unused extern

19 years agoMoved a lot of stuff to seperate files.
twisti [Tue, 29 Mar 2005 22:00:33 +0000 (22:00 +0000)]
Moved a lot of stuff to seperate files.

19 years agoMoved stuff from global.h
twisti [Tue, 29 Mar 2005 21:57:13 +0000 (21:57 +0000)]
Moved stuff from global.h

19 years agoMoved stuff from loader.c
twisti [Tue, 29 Mar 2005 21:56:01 +0000 (21:56 +0000)]
Moved stuff from loader.c

19 years agoInclude proper header files.
twisti [Tue, 29 Mar 2005 21:55:30 +0000 (21:55 +0000)]
Include proper header files.

19 years ago- added header include
twisti [Tue, 29 Mar 2005 21:50:12 +0000 (21:50 +0000)]
- added header include
- define BUILTIN_anewarray

19 years agoRemoved SIZE_FROM_CLASSINFO stuff (i think we don't need this anymore,
twisti [Tue, 29 Mar 2005 21:49:41 +0000 (21:49 +0000)]
Removed SIZE_FROM_CLASSINFO stuff (i think we don't need this anymore,
because we now use boehm as gc).

19 years ago- moved stuff from global.h
twisti [Tue, 29 Mar 2005 21:42:33 +0000 (21:42 +0000)]
- moved stuff from global.h
- added proper header includes

19 years agoInclude new proper header files.
twisti [Tue, 29 Mar 2005 21:36:28 +0000 (21:36 +0000)]
Include new proper header files.

19 years agoMoved stuff from global.h
twisti [Tue, 29 Mar 2005 21:29:08 +0000 (21:29 +0000)]
Moved stuff from global.h

19 years agoInclude new proper header files.
twisti [Tue, 29 Mar 2005 21:28:24 +0000 (21:28 +0000)]
Include new proper header files.

19 years agoGlobal variables comment.
twisti [Tue, 29 Mar 2005 21:25:51 +0000 (21:25 +0000)]
Global variables comment.

19 years ago- added utf_strcat
twisti [Tue, 29 Mar 2005 16:46:00 +0000 (16:46 +0000)]
- added utf_strcat
- added utf structure (from global.h)

19 years agoAdded: utf_strcat
twisti [Tue, 29 Mar 2005 16:45:35 +0000 (16:45 +0000)]
Added: utf_strcat

19 years agoChanged some includes.
twisti [Mon, 28 Mar 2005 22:44:28 +0000 (22:44 +0000)]
Changed some includes.

19 years agoAdded: xtainfo, xtafldinfo structures
twisti [Mon, 28 Mar 2005 22:44:17 +0000 (22:44 +0000)]
Added: xtainfo, xtafldinfo structures

19 years agoMoved stuff from other headers (global.h, loader.h).
twisti [Mon, 28 Mar 2005 22:35:02 +0000 (22:35 +0000)]
Moved stuff from other headers (global.h, loader.h).

19 years agoAdded: class_freecpool, class_free
twisti [Mon, 28 Mar 2005 22:34:15 +0000 (22:34 +0000)]
Added: class_freecpool, class_free

19 years agobugfix in saving rcx for lshl
christian [Mon, 28 Mar 2005 22:12:23 +0000 (22:12 +0000)]
bugfix in saving rcx for lshl

19 years agoInclude linker.h instead of loader.h.
twisti [Mon, 28 Mar 2005 22:09:35 +0000 (22:09 +0000)]
Include linker.h instead of loader.h.

19 years agoLinker related stuff (mostly from loader.c/global.h).
twisti [Mon, 28 Mar 2005 21:59:45 +0000 (21:59 +0000)]
Linker related stuff (mostly from loader.c/global.h).

19 years agoMethod related stuff (mostly from loader.c/global.h).
twisti [Mon, 28 Mar 2005 21:57:23 +0000 (21:57 +0000)]
Method related stuff (mostly from loader.c/global.h).

19 years agoField related stuff (mostly from loader.c/global.h).
twisti [Mon, 28 Mar 2005 21:56:52 +0000 (21:56 +0000)]
Field related stuff (mostly from loader.c/global.h).

19 years agoinitialize and free classcache
edwin [Sun, 27 Mar 2005 19:00:02 +0000 (19:00 +0000)]
initialize and free classcache

19 years agomade array_packagename harder to spoof
edwin [Sun, 27 Mar 2005 18:59:15 +0000 (18:59 +0000)]
made array_packagename harder to spoof

19 years agocheck defining classloader in SAME_PACKAGE
edwin [Sun, 27 Mar 2005 18:57:00 +0000 (18:57 +0000)]
check defining classloader in SAME_PACKAGE

19 years agomoved CLASS_IS_ARRAY to vm/jit/verify/typeinfo.c
edwin [Sun, 27 Mar 2005 15:38:49 +0000 (15:38 +0000)]
moved CLASS_IS_ARRAY to vm/jit/verify/typeinfo.c

19 years agoadded macro CLASSREF_INIT
edwin [Sun, 27 Mar 2005 15:17:46 +0000 (15:17 +0000)]
added macro CLASSREF_INIT

19 years agoadded functions for dynamically creating classrefs
edwin [Sun, 27 Mar 2005 15:16:57 +0000 (15:16 +0000)]
added functions for dynamically creating classrefs
added macro CLASSREF_INIT

19 years agomoved typecheckverbose flag to jit/verify/typeinfo.h
edwin [Sun, 27 Mar 2005 15:15:50 +0000 (15:15 +0000)]
moved typecheckverbose flag to jit/verify/typeinfo.h

19 years agoadded functions for dynamically creating class references
edwin [Sun, 27 Mar 2005 14:49:48 +0000 (14:49 +0000)]
added functions for dynamically creating class references

19 years agoadded paramslots field in methoddesc
edwin [Sun, 27 Mar 2005 14:43:25 +0000 (14:43 +0000)]
added paramslots field in methoddesc

19 years agoadded some fields for parsed descriptors
edwin [Sun, 27 Mar 2005 14:41:38 +0000 (14:41 +0000)]
added some fields for parsed descriptors
removed typecheck configuration macros from global.h

19 years agomoved the check for classinfo->linked
edwin [Fri, 25 Mar 2005 20:15:05 +0000 (20:15 +0000)]
moved the check for classinfo->linked

19 years agodocumentation updates for the coming changes
edwin [Fri, 25 Mar 2005 20:14:29 +0000 (20:14 +0000)]
documentation updates for the coming changes

19 years agoadded functions for freeing memory
edwin [Fri, 25 Mar 2005 17:12:35 +0000 (17:12 +0000)]
added functions for freeing memory

19 years ago- added asm_calljavafunction_int (for calls which require an int return
twisti [Fri, 25 Mar 2005 15:54:09 +0000 (15:54 +0000)]
- added asm_calljavafunction_int (for calls which require an int return
  value).
- stack align fix, problems with -sai (you know, this movaps instruction in
  libc's printf)

19 years agocheck if classnames are valid
edwin [Fri, 25 Mar 2005 15:13:45 +0000 (15:13 +0000)]
check if classnames are valid

19 years agofix merging of classcache_class_entry:s
edwin [Fri, 25 Mar 2005 14:25:15 +0000 (14:25 +0000)]
fix merging of classcache_class_entry:s

19 years agoadded {access,classcache,descriptor,resolve}.[ch] to Makefile.am
edwin [Fri, 25 Mar 2005 14:05:04 +0000 (14:05 +0000)]
added {access,classcache,descriptor,resolve}.[ch] to Makefile.am

19 years agomoved INSTRUCTION_PUTCONST_* macros to vm/jit/jit.h
edwin [Fri, 25 Mar 2005 13:45:26 +0000 (13:45 +0000)]
moved INSTRUCTION_PUTCONST_* macros to vm/jit/jit.h

19 years agoadded statistics for size of classrefs and parsed descriptors
edwin [Fri, 25 Mar 2005 13:35:06 +0000 (13:35 +0000)]
added statistics for size of classrefs and parsed descriptors

19 years agominor documentation fixes
edwin [Fri, 25 Mar 2005 13:32:58 +0000 (13:32 +0000)]
minor documentation fixes

19 years agoadded data structures for parsed descriptors and class references
edwin [Fri, 25 Mar 2005 13:30:14 +0000 (13:30 +0000)]
added data structures for parsed descriptors and class references

19 years agoadded new code for resolving symbolic references
edwin [Fri, 25 Mar 2005 12:35:05 +0000 (12:35 +0000)]
added new code for resolving symbolic references

19 years agoadded new code for the loaded class cache and loading constraints
edwin [Fri, 25 Mar 2005 12:34:09 +0000 (12:34 +0000)]
added new code for the loaded class cache and loading constraints

19 years agoadded new code for pre-parsed descriptors
edwin [Fri, 25 Mar 2005 12:33:37 +0000 (12:33 +0000)]
added new code for pre-parsed descriptors

19 years agoadded new code for checking access rights
edwin [Fri, 25 Mar 2005 12:23:30 +0000 (12:23 +0000)]
added new code for checking access rights

19 years agotemporary fix for getenv returning NULL for LD_LIBRARY_PATH
edwin [Thu, 24 Mar 2005 19:06:22 +0000 (19:06 +0000)]
temporary fix for getenv returning NULL for LD_LIBRARY_PATH

19 years ago- implemented: ICMD_PUTSTATICCONST, ICMD_PUTFIELDCONST
twisti [Thu, 24 Mar 2005 18:48:31 +0000 (18:48 +0000)]
- implemented: ICMD_PUTSTATICCONST, ICMD_PUTFIELDCONST
- check for null pointer in ICMD_INVOKESPECIAL

19 years agoProblem with not/wrong saved argument registers used as temp registers resolved
christian [Thu, 24 Mar 2005 17:56:17 +0000 (17:56 +0000)]
Problem with not/wrong saved argument registers used as temp registers resolved

19 years agoAdded x86_64_emit_byte_rex: movb_reg_membase needs a special rex byte,
twisti [Thu, 24 Mar 2005 12:21:53 +0000 (12:21 +0000)]
Added x86_64_emit_byte_rex: movb_reg_membase needs a special rex byte,
because the 64-bit flag is not set, but we need the low nibbles of all
registers (e.g. mov %bpl,(%rax,%rcx,1)).

19 years agoAdd all files (including .properties) to the zip dir list.
twisti [Thu, 24 Mar 2005 10:13:56 +0000 (10:13 +0000)]
Add all files (including .properties) to the zip dir list.

19 years agoAdded asm_calljavafunction_int (for calls which require an int return
twisti [Wed, 23 Mar 2005 19:26:30 +0000 (19:26 +0000)]
Added asm_calljavafunction_int (for calls which require an int return
value).

19 years ago- support external classpath
twisti [Wed, 23 Mar 2005 11:55:16 +0000 (11:55 +0000)]
- support external classpath
- don't add classpath to bootstrap classloader

19 years agoOoops! Sorry for this bug.
twisti [Wed, 23 Mar 2005 11:46:35 +0000 (11:46 +0000)]
Ooops! Sorry for this bug.

19 years agoAdded asm_calljavafunction_int (for calls which require an int return
twisti [Wed, 23 Mar 2005 11:21:00 +0000 (11:21 +0000)]
Added asm_calljavafunction_int (for calls which require an int return
value).