cacao.git
19 years ago- -verbosecall bugfix
twisti [Sun, 3 Apr 2005 22:48:21 +0000 (22:48 +0000)]
- -verbosecall bugfix
- comment fix

19 years agoRenamed class_init to initialize_class.
twisti [Sun, 3 Apr 2005 22:36:17 +0000 (22:36 +0000)]
Renamed class_init to initialize_class.

19 years agoRenamed class_init to initialize_class.
twisti [Sun, 3 Apr 2005 21:56:13 +0000 (21:56 +0000)]
Renamed class_init to initialize_class.

19 years agoRenamed class_init to initialize_class.
twisti [Sun, 3 Apr 2005 21:48:11 +0000 (21:48 +0000)]
Renamed class_init to initialize_class.

19 years agoRenamed create_classinfo to class_create_classinfo.
twisti [Sun, 3 Apr 2005 21:44:19 +0000 (21:44 +0000)]
Renamed create_classinfo to class_create_classinfo.

19 years agoRemoved class_init* stuff (now in initialize.[ch]).
twisti [Sun, 3 Apr 2005 21:42:44 +0000 (21:42 +0000)]
Removed class_init* stuff (now in initialize.[ch]).

19 years agoAdded comment.
twisti [Sun, 3 Apr 2005 21:40:58 +0000 (21:40 +0000)]
Added comment.

19 years agoStatic class initializer functions.
twisti [Sun, 3 Apr 2005 21:39:07 +0000 (21:39 +0000)]
Static class initializer functions.

19 years agoAdded initialize.[ch]
twisti [Sun, 3 Apr 2005 21:37:44 +0000 (21:37 +0000)]
Added initialize.[ch]

19 years agoremoved the class hash and all functions identifying classes by name only
edwin [Sun, 3 Apr 2005 16:53:16 +0000 (16:53 +0000)]
removed the class hash and all functions identifying classes by name only

19 years agoFixed --disable-threads compiling issues (missing header includes).
twisti [Sun, 3 Apr 2005 16:13:27 +0000 (16:13 +0000)]
Fixed --disable-threads compiling issues (missing header includes).

19 years agono more unloaded classinfos!
edwin [Sat, 2 Apr 2005 19:33:43 +0000 (19:33 +0000)]
no more unloaded classinfos!
use references for superclass and superinterfaces until linking

19 years ago- map alphaev56 cpu to alpha
twisti [Sat, 2 Apr 2005 17:24:58 +0000 (17:24 +0000)]
- map alphaev56 cpu to alpha
- bugfix: removed --{en,dis}able-load-library configure options, this
  causes a bug in Double.<clinit> since initIDs() is in the if statement

19 years agostarted changing constant pool to constant_classrefs
edwin [Sat, 2 Apr 2005 13:54:54 +0000 (13:54 +0000)]
started changing constant pool to constant_classrefs

19 years agochanged exception types and innerclass references to classref_or_classinfo
edwin [Sat, 2 Apr 2005 10:07:44 +0000 (10:07 +0000)]
changed exception types and innerclass references to classref_or_classinfo

19 years agoremoved "class" field in constant_FMIref
edwin [Sat, 2 Apr 2005 02:05:59 +0000 (02:05 +0000)]
removed "class" field in constant_FMIref

19 years agofixed segfault in defineClass
edwin [Sat, 2 Apr 2005 01:15:33 +0000 (01:15 +0000)]
fixed segfault in defineClass

19 years agoclassinfo: changed type of super and interfaces to classref_or_classinfo
edwin [Sat, 2 Apr 2005 00:46:09 +0000 (00:46 +0000)]
classinfo: changed type of super and interfaces to classref_or_classinfo

19 years agoclassinfo: changed type of super and interfaces to classref_or_classinfo
edwin [Sat, 2 Apr 2005 00:43:25 +0000 (00:43 +0000)]
classinfo: changed type of super and interfaces to classref_or_classinfo
fixed some warnings

19 years agomoved descriptor2typesL to jit/inline/parseXTA.c
edwin [Fri, 1 Apr 2005 21:24:49 +0000 (21:24 +0000)]
moved descriptor2typesL to jit/inline/parseXTA.c

19 years agochanged descriptor2types to parsed descriptors and moved it to method.c
edwin [Fri, 1 Apr 2005 21:19:05 +0000 (21:19 +0000)]
changed descriptor2types to parsed descriptors and moved it to method.c

19 years agoswitched JNI to parsed descriptors
edwin [Fri, 1 Apr 2005 20:57:17 +0000 (20:57 +0000)]
switched JNI to parsed descriptors

19 years agoremoved old descriptor parsing functions
edwin [Fri, 1 Apr 2005 20:56:33 +0000 (20:56 +0000)]
removed old descriptor parsing functions
added declared type in typedesc
rearranged PRIMITIVETYPE_ constants

19 years agoextended type system to use symbolic references
edwin [Fri, 1 Apr 2005 16:53:33 +0000 (16:53 +0000)]
extended type system to use symbolic references
introduce pre-parsed descriptors
cleaned up headers
made classcache thread-safe

19 years ago- added asm_calljavafunction_int
twisti [Fri, 1 Apr 2005 13:31:31 +0000 (13:31 +0000)]
- added asm_calljavafunction_int
- call proper class load/link functions
- set the noreorder/reorder pragmas on better positions

19 years agoPatched back in the s1 == REG_ITMP1 (former d == REG_ITMP3) optimization.
twisti [Fri, 1 Apr 2005 13:28:16 +0000 (13:28 +0000)]
Patched back in the s1 == REG_ITMP1 (former d == REG_ITMP3) optimization.

19 years agoCHECKCAST bugfix.
twisti [Fri, 1 Apr 2005 13:20:47 +0000 (13:20 +0000)]
CHECKCAST bugfix.

19 years agoCHECKCAST bugfix.
twisti [Fri, 1 Apr 2005 13:10:52 +0000 (13:10 +0000)]
CHECKCAST bugfix.

19 years ago- added asm_calljavafunction_int
twisti [Fri, 1 Apr 2005 13:00:34 +0000 (13:00 +0000)]
- added asm_calljavafunction_int
- call proper class load/link functions

19 years ago- fixed CHECKCAST bug
twisti [Fri, 1 Apr 2005 11:23:18 +0000 (11:23 +0000)]
- fixed CHECKCAST bug
- align stack to 16-byte only in non-leafmethods (this saves some stack
  frames)

19 years agoArghhh, small type in #if.
twisti [Fri, 1 Apr 2005 08:42:57 +0000 (08:42 +0000)]
Arghhh, small type in #if.

19 years ago- defineClass: implemented (instead of calling the JNI function, this one
twisti [Thu, 31 Mar 2005 19:29:04 +0000 (19:29 +0000)]
- defineClass: implemented (instead of calling the JNI function, this one
  is called more often)
- loadClass: some changes (not finished)

19 years ago- forName: just return NULL, to use classpath default implementation
twisti [Thu, 31 Mar 2005 19:27:07 +0000 (19:27 +0000)]
- forName: just return NULL, to use classpath default implementation
- isAssignableFrom: use builtin function instead of JNI
- isInstance: use builtin function instead of JNI
- loadArrayClass: implemented

19 years agoCall native functions (instead the other way around) for: DefineClass,
twisti [Thu, 31 Mar 2005 19:23:51 +0000 (19:23 +0000)]
Call native functions (instead the other way around) for: DefineClass,
IsAssignableFrom, IsInstanceOf

19 years agoInitial JNI test code.
twisti [Thu, 31 Mar 2005 19:18:38 +0000 (19:18 +0000)]
Initial JNI test code.

19 years agoFixed bug in adding interface methods to abstract classes (don't add
twisti [Thu, 31 Mar 2005 15:50:57 +0000 (15:50 +0000)]
Fixed bug in adding interface methods to abstract classes (don't add
<clinit> and <init> methods).

19 years ago- call proper class load/link functions
twisti [Thu, 31 Mar 2005 14:49:00 +0000 (14:49 +0000)]
- call proper class load/link functions
- return NULL on exception in asm_calljavafunction*

19 years agoshift bug finaly fixed
christian [Thu, 31 Mar 2005 09:52:47 +0000 (09:52 +0000)]
shift bug finaly fixed

19 years agoWarning fixes.
twisti [Wed, 30 Mar 2005 20:32:30 +0000 (20:32 +0000)]
Warning fixes.

19 years ago- added nativeGetResources
twisti [Wed, 30 Mar 2005 20:20:25 +0000 (20:20 +0000)]
- added nativeGetResources
- fix for defineClass

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).