cacao.git
19 years agoRemoved function checking from BUILTINn, this is now done in parse.
twisti [Wed, 6 Apr 2005 16:06:26 +0000 (16:06 +0000)]
Removed function checking from BUILTINn, this is now done in parse.

19 years agoAdded asm_builtin_new to builtin table.
twisti [Wed, 6 Apr 2005 16:05:32 +0000 (16:05 +0000)]
Added asm_builtin_new to builtin table.

19 years ago- don't pass pv to asm_builtin_new_helper
twisti [Wed, 6 Apr 2005 16:05:11 +0000 (16:05 +0000)]
- don't pass pv to asm_builtin_new_helper
- save float argument register in asm_invokespecial

19 years agoPrint descriptors for function calls with -si.
twisti [Wed, 6 Apr 2005 16:04:16 +0000 (16:04 +0000)]
Print descriptors for function calls with -si.

19 years agoCheck which function to call in JAVA_NEW.
twisti [Wed, 6 Apr 2005 16:03:50 +0000 (16:03 +0000)]
Check which function to call in JAVA_NEW.

19 years agoNo need for pv, removed it.
twisti [Wed, 6 Apr 2005 15:49:22 +0000 (15:49 +0000)]
No need for pv, removed it.

19 years agorevert commit of debug code
edwin [Wed, 6 Apr 2005 15:10:16 +0000 (15:10 +0000)]
revert commit of debug code

19 years agofixed bug in classcache_add_constraint
edwin [Wed, 6 Apr 2005 15:07:46 +0000 (15:07 +0000)]
fixed bug in classcache_add_constraint

19 years agoFixed compile problems.
twisti [Wed, 6 Apr 2005 13:04:28 +0000 (13:04 +0000)]
Fixed compile problems.

19 years agoInclude missing vm/classcache.h
twisti [Wed, 6 Apr 2005 12:16:53 +0000 (12:16 +0000)]
Include missing vm/classcache.h

19 years ago- changes for asm_check_clinit: don't use a stack location to pass the
twisti [Wed, 6 Apr 2005 12:13:57 +0000 (12:13 +0000)]
- changes for asm_check_clinit: don't use a stack location to pass the
  patch machine code, instead read 8 bytes in a bunch and pass it in a
  itmp register
- added: asm_builtin_new, asm_invokespecial

19 years ago- changes to use codegen_addpatchref
twisti [Wed, 6 Apr 2005 12:12:40 +0000 (12:12 +0000)]
- changes to use codegen_addpatchref
- BUILTIN_new and INVOKESPECIAL use lazy loading

19 years agoLazy loading changes, #ifdef'd for x86_64.
twisti [Wed, 6 Apr 2005 12:11:32 +0000 (12:11 +0000)]
Lazy loading changes, #ifdef'd for x86_64.

19 years agoAdded OP2A_NOINC: required for lazy loading code
twisti [Wed, 6 Apr 2005 12:05:06 +0000 (12:05 +0000)]
Added OP2A_NOINC: required for lazy loading code

19 years agoRenamed clinitref to patchref.
twisti [Wed, 6 Apr 2005 12:04:25 +0000 (12:04 +0000)]
Renamed clinitref to patchref.

19 years ago- changed codegen_addclinitref to codegen_addpatchref: different arguments,
twisti [Wed, 6 Apr 2005 12:04:07 +0000 (12:04 +0000)]
- changed codegen_addclinitref to codegen_addpatchref: different arguments,
  clinitref is now called patchref
- only call codegen_insertmethod for i386/x86_64, problems with xdsp
- additionally show integer offset in datasegment

19 years agoRemoved asm_builtin_new.
twisti [Wed, 6 Apr 2005 10:32:13 +0000 (10:32 +0000)]
Removed asm_builtin_new.

19 years agoAdded asmpart.c
twisti [Wed, 6 Apr 2005 10:29:55 +0000 (10:29 +0000)]
Added asmpart.c

19 years agoAdded code patching prototypes.
twisti [Wed, 6 Apr 2005 10:28:04 +0000 (10:28 +0000)]
Added code patching prototypes.

19 years agoHelper functions for asmpart code patching functions. These do the
twisti [Wed, 6 Apr 2005 10:27:42 +0000 (10:27 +0000)]
Helper functions for asmpart code patching functions. These do the
complicated stuff in portable c.

19 years ago- float argument store bugfix (use M_FST for float values)
twisti [Wed, 6 Apr 2005 09:05:34 +0000 (09:05 +0000)]
- float argument store bugfix (use M_FST for float values)
- CHECKCAST bugfix
- throw native stub size exception
- bugfix in passing the xpc to asm_handle_nat_exception

19 years agolink class in resolve_field/resolve_method
edwin [Tue, 5 Apr 2005 23:00:37 +0000 (23:00 +0000)]
link class in resolve_field/resolve_method

19 years agonew ARGVAR Handler for Powerpc
christian [Tue, 5 Apr 2005 22:52:46 +0000 (22:52 +0000)]
new ARGVAR Handler for Powerpc

19 years agodo not use members set by method_descriptor2types in resolve_ functions
edwin [Tue, 5 Apr 2005 20:51:01 +0000 (20:51 +0000)]
do not use members set by method_descriptor2types in resolve_ functions

19 years agocall method_descriptor2types
edwin [Tue, 5 Apr 2005 20:36:07 +0000 (20:36 +0000)]
call method_descriptor2types

19 years agoconsecutive argument numbering for -si
christian [Tue, 5 Apr 2005 18:01:56 +0000 (18:01 +0000)]
consecutive argument numbering for -si

19 years agonew ARGVAR handling for mips and alpha
christian [Tue, 5 Apr 2005 17:38:04 +0000 (17:38 +0000)]
new ARGVAR handling for mips and alpha

19 years ago*** empty log message ***
christian [Tue, 5 Apr 2005 15:54:29 +0000 (15:54 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
christian [Tue, 5 Apr 2005 15:49:13 +0000 (15:49 +0000)]
*** empty log message ***

19 years agoold ARGVAR handling in stack.c eliminated
christian [Tue, 5 Apr 2005 15:42:57 +0000 (15:42 +0000)]
old ARGVAR handling in stack.c eliminated

19 years agonew ARGVAR Handling in stack.c
christian [Tue, 5 Apr 2005 15:26:35 +0000 (15:26 +0000)]
new ARGVAR Handling in stack.c

19 years agodont use stack in create_unresolved_ functions if no typeinfo available
edwin [Tue, 5 Apr 2005 10:26:33 +0000 (10:26 +0000)]
dont use stack in create_unresolved_ functions if no typeinfo available

19 years agoenable the create_unresolved_... functions to work without typeinfo
edwin [Tue, 5 Apr 2005 10:12:18 +0000 (10:12 +0000)]
enable the create_unresolved_... functions to work without typeinfo

19 years agorenamed resolve_class to resolve_class_from_name
edwin [Mon, 4 Apr 2005 14:59:12 +0000 (14:59 +0000)]
renamed resolve_class to resolve_class_from_name
added unresolved_class and resolve_class

19 years agoArgument counting more compact.
twisti [Mon, 4 Apr 2005 14:36:06 +0000 (14:36 +0000)]
Argument counting more compact.

19 years agodo not include class.h in initialize.h
edwin [Mon, 4 Apr 2005 13:05:15 +0000 (13:05 +0000)]
do not include class.h in initialize.h

19 years ago*** empty log message ***
christian [Mon, 4 Apr 2005 11:34:46 +0000 (11:34 +0000)]
*** empty log message ***

19 years agoAdress Register File, Neues ARG_VAR Handling, neue LSRA Version
christian [Mon, 4 Apr 2005 10:39:36 +0000 (10:39 +0000)]
Adress Register File, Neues ARG_VAR Handling, neue LSRA Version

19 years agoCall load_class_bootstrap for specific method compilation. This option is
twisti [Mon, 4 Apr 2005 10:06:38 +0000 (10:06 +0000)]
Call load_class_bootstrap for specific method compilation. This option is
mostly used to develop new ports, where calling java code is not yet
possible.

19 years agoForgot to include initialize.h
twisti [Mon, 4 Apr 2005 09:41:17 +0000 (09:41 +0000)]
Forgot to include initialize.h

19 years agoInclude all headers explicitly.
twisti [Mon, 4 Apr 2005 09:31:17 +0000 (09:31 +0000)]
Include all headers explicitly.

19 years agooffsets.h depends on genoffsets and config.h, all other headers are
twisti [Mon, 4 Apr 2005 09:28:38 +0000 (09:28 +0000)]
offsets.h depends on genoffsets and config.h, all other headers are
included in genoffsets.c.

19 years agoRenamed class_init to initialize_class.
twisti [Mon, 4 Apr 2005 09:20:57 +0000 (09:20 +0000)]
Renamed class_init to initialize_class.

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

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.