Skip to content
Snippets Groups Projects
Forked from redox-os / gcc
Source project has a limited visibility.
  • tromey's avatar
    862ad8b4
    PR libgcj/26063, PR libgcj/17978, PR libgcj/10598: · 862ad8b4
    tromey authored
    	* defineclass.cc (parse): Use _Jv_AllocRawObj.
    	(read_constpool): Likewise.
    	(read_one_code_attribute): Use internal function name.
    	(handleConstantPool): Use _Jv_AllocRawObj.
    	(handleInterfacesBegin): Likewise.
    	(handleFieldsBegin): Likewise.
    	(handleMethodsBegin): Likewise.
    	(handleCodeAttribute): Likewise.
    	(handleMethodsEnd): Likewise.
    	* include/jvm.h (new_vtable): Use _Jv_AllocRawObj.
    	* interpret.cc (do_allocate_static_fields): Use _Jv_AllocRawObj.
    	Allocate reference fields separately.
    	* link.cc (prepare_constant_time_tables): Use _Jv_AllocRawObj.
    	(add_miranda_methods): Likewise.
    	(generate_itable): Use _Jv_AllocBytes.
    	(find_iindex): Likewise.
    	(struct method_closure): New structure.
    	(create_error_method): Use struct method_closure; allocate with
    	_Jv_AllocBytes.
    	(ensure_fields_laid_out): Separate reference fields from
    	non-reference fields.
    	* boehm.cc (_Jv_MarkObj): Mark vtable.  Only mark direct fields
    	of Class.
    	(_Jv_MarkArray): Mark vtable.
    	(_Jv_AllocRawObj): Don't allocate objects of size 0.
    	* include/execution.h
    	(_Jv_ExecutionEngine::allocate_static_fields): Added 'int'
    	parameter.
    	(struct _Jv_CompiledEngine): Updated.
    	(class _Jv_InterpreterEngine): Updated.
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110763 138bc75d-0d04-0410-961f-82ee72b054a4
    862ad8b4
    History
    PR libgcj/26063, PR libgcj/17978, PR libgcj/10598:
    tromey authored
    	* defineclass.cc (parse): Use _Jv_AllocRawObj.
    	(read_constpool): Likewise.
    	(read_one_code_attribute): Use internal function name.
    	(handleConstantPool): Use _Jv_AllocRawObj.
    	(handleInterfacesBegin): Likewise.
    	(handleFieldsBegin): Likewise.
    	(handleMethodsBegin): Likewise.
    	(handleCodeAttribute): Likewise.
    	(handleMethodsEnd): Likewise.
    	* include/jvm.h (new_vtable): Use _Jv_AllocRawObj.
    	* interpret.cc (do_allocate_static_fields): Use _Jv_AllocRawObj.
    	Allocate reference fields separately.
    	* link.cc (prepare_constant_time_tables): Use _Jv_AllocRawObj.
    	(add_miranda_methods): Likewise.
    	(generate_itable): Use _Jv_AllocBytes.
    	(find_iindex): Likewise.
    	(struct method_closure): New structure.
    	(create_error_method): Use struct method_closure; allocate with
    	_Jv_AllocBytes.
    	(ensure_fields_laid_out): Separate reference fields from
    	non-reference fields.
    	* boehm.cc (_Jv_MarkObj): Mark vtable.  Only mark direct fields
    	of Class.
    	(_Jv_MarkArray): Mark vtable.
    	(_Jv_AllocRawObj): Don't allocate objects of size 0.
    	* include/execution.h
    	(_Jv_ExecutionEngine::allocate_static_fields): Added 'int'
    	parameter.
    	(struct _Jv_CompiledEngine): Updated.
    	(class _Jv_InterpreterEngine): Updated.
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110763 138bc75d-0d04-0410-961f-82ee72b054a4