cacao.git
19 years agoadded log2xml.pl and log2xml.vim
edwin [Thu, 14 Apr 2005 19:44:00 +0000 (19:44 +0000)]
added log2xml.pl and log2xml.vim

19 years agosynchronize VMClassLoader.defineClass and load_class_bootstrap
edwin [Thu, 14 Apr 2005 12:04:42 +0000 (12:04 +0000)]
synchronize VMClassLoader.defineClass and load_class_bootstrap

19 years agofor using reserved registers on i386
christian [Thu, 14 Apr 2005 08:13:36 +0000 (08:13 +0000)]
for using reserved registers on i386

19 years agodo not panic if the stacktrace is empty
edwin [Thu, 14 Apr 2005 07:23:12 +0000 (07:23 +0000)]
do not panic if the stacktrace is empty

19 years agouse log_text for logging
edwin [Thu, 14 Apr 2005 06:07:11 +0000 (06:07 +0000)]
use log_text for logging

19 years agoimplemented defineClass with name == NULL
edwin [Thu, 14 Apr 2005 05:17:27 +0000 (05:17 +0000)]
implemented defineClass with name == NULL
call ClassLoader.loadClass with dotted name instead of slashed name
prefix log messages with thread id (preparation for log2xml.pl)

19 years agoredo of changes overwritten by last commit
christian [Wed, 13 Apr 2005 15:32:01 +0000 (15:32 +0000)]
redo of changes overwritten by last commit

19 years agoregister allocator uses unused argument registers in non leaf methods as temp
christian [Wed, 13 Apr 2005 12:50:07 +0000 (12:50 +0000)]
register allocator uses unused argument registers in non leaf methods as temp
ICMD_xRETURN changed, so that REG_RESULTs are saved in case of monitorexit (MIPS, POWERPC)
new lsra version (i386 uses now reserved registers as temp)
spilled local vars use now the memory location of corresponding spilled arguments (MIPS, ALPHA, x86_64)

19 years agopatchref patch.
twisti [Tue, 12 Apr 2005 22:57:45 +0000 (22:57 +0000)]
patchref patch.

19 years agoDefine CONDITIONAL_LOADCONST with 1.
twisti [Tue, 12 Apr 2005 22:57:26 +0000 (22:57 +0000)]
Define CONDITIONAL_LOADCONST with 1.

19 years agoi386 defines in builtin table.
twisti [Tue, 12 Apr 2005 22:01:12 +0000 (22:01 +0000)]
i386 defines in builtin table.

19 years agoComment asm_builtin_new for now (code patching related).
twisti [Tue, 12 Apr 2005 22:00:37 +0000 (22:00 +0000)]
Comment asm_builtin_new for now (code patching related).

19 years agoDisable lazy loading now for i386.
twisti [Tue, 12 Apr 2005 21:59:47 +0000 (21:59 +0000)]
Disable lazy loading now for i386.

19 years agoSome lazy loading stuff.
twisti [Tue, 12 Apr 2005 21:59:24 +0000 (21:59 +0000)]
Some lazy loading stuff.

19 years agoFirst code patching functions.
twisti [Tue, 12 Apr 2005 21:57:56 +0000 (21:57 +0000)]
First code patching functions.

19 years agoDefine CONDITIONAL_LOADCONST with 1.
twisti [Tue, 12 Apr 2005 21:57:30 +0000 (21:57 +0000)]
Define CONDITIONAL_LOADCONST with 1.

19 years agoAdded asm_builtin_newarray for i386 (will be removed).
twisti [Tue, 12 Apr 2005 21:54:40 +0000 (21:54 +0000)]
Added asm_builtin_newarray for i386 (will be removed).

19 years agoRenamed code patching functions.
twisti [Tue, 12 Apr 2005 20:43:41 +0000 (20:43 +0000)]
Renamed code patching functions.

19 years agoRenamed code patching functions.
twisti [Tue, 12 Apr 2005 20:32:53 +0000 (20:32 +0000)]
Renamed code patching functions.

19 years ago- renamed code patching functions
twisti [Tue, 12 Apr 2005 20:32:34 +0000 (20:32 +0000)]
- renamed code patching functions
- added array checkcast and instanceof code patcher

19 years agoConvert ClassNotFoundException's to NoClassDefFoundError's.
twisti [Tue, 12 Apr 2005 20:31:38 +0000 (20:31 +0000)]
Convert ClassNotFoundException's to NoClassDefFoundError's.

19 years agoRenamed code patching functions.
twisti [Tue, 12 Apr 2005 19:53:05 +0000 (19:53 +0000)]
Renamed code patching functions.

19 years agodseg_display warning fix.
twisti [Tue, 12 Apr 2005 19:52:39 +0000 (19:52 +0000)]
dseg_display warning fix.

19 years agoLazy array checkcast and instanceof.
twisti [Tue, 12 Apr 2005 19:52:06 +0000 (19:52 +0000)]
Lazy array checkcast and instanceof.

19 years agoAdded asm_patcher_* functions.
twisti [Tue, 12 Apr 2005 19:50:26 +0000 (19:50 +0000)]
Added asm_patcher_* functions.

19 years agoLink important system classes.
twisti [Tue, 12 Apr 2005 19:50:04 +0000 (19:50 +0000)]
Link important system classes.

19 years agoMoved exception loading to exceptions.c
twisti [Tue, 12 Apr 2005 19:49:45 +0000 (19:49 +0000)]
Moved exception loading to exceptions.c

19 years agoAdded: utf_java_lang_ClassNotFoundException
twisti [Tue, 12 Apr 2005 19:48:03 +0000 (19:48 +0000)]
Added: utf_java_lang_ClassNotFoundException

19 years ago- added: string_java_lang_VMThrowable
twisti [Tue, 12 Apr 2005 19:47:33 +0000 (19:47 +0000)]
- added: string_java_lang_VMThrowable
- load an link all required exceptions

19 years agoAdded: class_java_lang_ClassNotFoundException
twisti [Tue, 12 Apr 2005 19:46:03 +0000 (19:46 +0000)]
Added: class_java_lang_ClassNotFoundException

19 years agoAdded tests: checkcast, instanceof
twisti [Mon, 11 Apr 2005 15:53:27 +0000 (15:53 +0000)]
Added tests: checkcast, instanceof

19 years agoAdded: asm_checkcast_instanceof_flags, asm_checkcast_instanceof_interface,
twisti [Mon, 11 Apr 2005 15:50:49 +0000 (15:50 +0000)]
Added: asm_checkcast_instanceof_flags, asm_checkcast_instanceof_interface,
asm_instanceof_class

19 years agoLazy checkcast and instanceof.
twisti [Mon, 11 Apr 2005 15:49:51 +0000 (15:49 +0000)]
Lazy checkcast and instanceof.

19 years agoLazy instanceof.
twisti [Mon, 11 Apr 2005 15:48:42 +0000 (15:48 +0000)]
Lazy instanceof.

19 years agoCheck all code patching possibilities.
twisti [Mon, 11 Apr 2005 12:50:23 +0000 (12:50 +0000)]
Check all code patching possibilities.

19 years agoifdef assembler functions in builtin table.
twisti [Mon, 11 Apr 2005 10:50:12 +0000 (10:50 +0000)]
ifdef assembler functions in builtin table.

19 years agoOld loading code bug fixing.
twisti [Mon, 11 Apr 2005 10:49:19 +0000 (10:49 +0000)]
Old loading code bug fixing.

19 years agoChanged asm_builtin_newarray signature.
twisti [Mon, 11 Apr 2005 10:02:00 +0000 (10:02 +0000)]
Changed asm_builtin_newarray signature.

19 years agoWarning fixes (arghhh).
twisti [Mon, 11 Apr 2005 10:00:51 +0000 (10:00 +0000)]
Warning fixes (arghhh).

19 years agoLazy loading changes (CHECKCAST and INSTANCEOF are still missing).
twisti [Mon, 11 Apr 2005 09:58:52 +0000 (09:58 +0000)]
Lazy loading changes (CHECKCAST and INSTANCEOF are still missing).

19 years agoGenerate some defines for code patching functions.
twisti [Mon, 11 Apr 2005 09:57:22 +0000 (09:57 +0000)]
Generate some defines for code patching functions.

19 years agoLazy loading changes.
twisti [Mon, 11 Apr 2005 09:56:52 +0000 (09:56 +0000)]
Lazy loading changes.

19 years agoAdded OP2AT which also sets the target.
twisti [Mon, 11 Apr 2005 09:55:44 +0000 (09:55 +0000)]
Added OP2AT which also sets the target.

19 years agoPrint memory address in dseg_display.
twisti [Mon, 11 Apr 2005 09:48:09 +0000 (09:48 +0000)]
Print memory address in dseg_display.

19 years agoAdded code patching functions.
twisti [Mon, 11 Apr 2005 09:46:24 +0000 (09:46 +0000)]
Added code patching functions.

19 years agoMajor changes: added functions, renamed functions, ...
twisti [Mon, 11 Apr 2005 09:45:52 +0000 (09:45 +0000)]
Major changes: added functions, renamed functions, ...

19 years ago- moved class_getconstant, innerclass_getconstant to class.[ch]
twisti [Mon, 11 Apr 2005 09:43:57 +0000 (09:43 +0000)]
- moved class_getconstant, innerclass_getconstant to class.[ch]
- check for load_newly_created_array error in load_class_bootstrap

19 years agoMoved from loader.[ch]: class_getconstant, innerclass_getconstant
twisti [Mon, 11 Apr 2005 09:42:19 +0000 (09:42 +0000)]
Moved from loader.[ch]: class_getconstant, innerclass_getconstant

19 years agoAdded BUILTIN_nmultianewarray define.
twisti [Mon, 11 Apr 2005 09:40:34 +0000 (09:40 +0000)]
Added BUILTIN_nmultianewarray define.

19 years agoAdded asm_builtin_newarray to builtin_desc.
twisti [Mon, 11 Apr 2005 09:40:23 +0000 (09:40 +0000)]
Added asm_builtin_newarray to builtin_desc.

19 years ago- added asmhelper.[ch]
twisti [Thu, 7 Apr 2005 11:23:53 +0000 (11:23 +0000)]
- added asmhelper.[ch]
- removed asmpart.c (duplicate object file)

19 years agoRemoved helper prototypes.
twisti [Thu, 7 Apr 2005 11:21:10 +0000 (11:21 +0000)]
Removed helper prototypes.

19 years agoComment fix.
twisti [Thu, 7 Apr 2005 11:20:40 +0000 (11:20 +0000)]
Comment fix.

19 years agoHelper header.
twisti [Thu, 7 Apr 2005 11:20:08 +0000 (11:20 +0000)]
Helper header.

19 years agoRenamed.
twisti [Thu, 7 Apr 2005 11:19:55 +0000 (11:19 +0000)]
Renamed.

19 years agoAdded proper asm_builtin_new.
twisti [Wed, 6 Apr 2005 16:06:48 +0000 (16:06 +0000)]
Added proper asm_builtin_new.

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.