Skip to content
Snippets Groups Projects
Forked from redox-os / gcc
Source project has a limited visibility.
  • tromey's avatar
    91b931f9
    * resolve.cc (_Jv_PrepareClass): Verify method here... · 91b931f9
    tromey authored
    	* defineclass.cc (handleMethodsEnd): ... not here.
    	* verify.cc (_Jv_BytecodeVerifier::initialize_stack): New method.
    	(_Jv_BytecodeVerifier::verify_instructions_0) [op_return]: Ensure
    	there are no uninitialized objects.
    	(_Jv_BytecodeVerifier::state::this_type): New field.
    	(_Jv_BytecodeVerifier::state::state): Initialize this_type.
    	(_Jv_BytecodeVerifier::state::copy): Copy this_type.
    	(_Jv_BytecodeVerifier::state::merge): Merge this_type.
    	(_Jv_BytecodeVerifier::state::check_no_uninitialized_objects):
    	Handle this_type.
    	(_Jv_BytecodeVerifier::state::check_this_initialized): New
    	method.
    	(_Jv_BytecodeVerifier::state::set_initialized): Handle this_type.
    	(_Jv_BytecodeVerifier::state::set_this_type): New method.
    	(_Jv_BytecodeVerifier::verify_instructions_0) [op_putfield]: Allow
    	assignment to fields of `this' before another initializer is run.
    
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47826 138bc75d-0d04-0410-961f-82ee72b054a4
    91b931f9
    History
    * resolve.cc (_Jv_PrepareClass): Verify method here...
    tromey authored
    	* defineclass.cc (handleMethodsEnd): ... not here.
    	* verify.cc (_Jv_BytecodeVerifier::initialize_stack): New method.
    	(_Jv_BytecodeVerifier::verify_instructions_0) [op_return]: Ensure
    	there are no uninitialized objects.
    	(_Jv_BytecodeVerifier::state::this_type): New field.
    	(_Jv_BytecodeVerifier::state::state): Initialize this_type.
    	(_Jv_BytecodeVerifier::state::copy): Copy this_type.
    	(_Jv_BytecodeVerifier::state::merge): Merge this_type.
    	(_Jv_BytecodeVerifier::state::check_no_uninitialized_objects):
    	Handle this_type.
    	(_Jv_BytecodeVerifier::state::check_this_initialized): New
    	method.
    	(_Jv_BytecodeVerifier::state::set_initialized): Handle this_type.
    	(_Jv_BytecodeVerifier::state::set_this_type): New method.
    	(_Jv_BytecodeVerifier::verify_instructions_0) [op_putfield]: Allow
    	assignment to fields of `this' before another initializer is run.
    
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47826 138bc75d-0d04-0410-961f-82ee72b054a4