Skip to content
Snippets Groups Projects
  • Tom Tromey's avatar
    4c98b1b0
    defineclass.cc (handleMethodsEnd): Precompute code for static method. · 4c98b1b0
    Tom Tromey authored
    	* defineclass.cc (handleMethodsEnd): Precompute code for static
    	method.
    	(handleCodeAttribute): Likewise.
    	* resolve.cc (ncode): Use run_class for unsynchronized static
    	methods.
    	* include/java-interp.h (class _Jv_InterpMethod): Declare
    	run_class.
    	* interpret.cc (run_synch_class): Initialize class.
    	(run) [insn_invokestatic]: Don't initialize class.
    	[insn_anewarray]: Likewise.
    	[insn_multianewarray]: Likewise.
    	(run_class): New function.
    
    From-SVN: r61727
    4c98b1b0
    History
    defineclass.cc (handleMethodsEnd): Precompute code for static method.
    Tom Tromey authored
    	* defineclass.cc (handleMethodsEnd): Precompute code for static
    	method.
    	(handleCodeAttribute): Likewise.
    	* resolve.cc (ncode): Use run_class for unsynchronized static
    	methods.
    	* include/java-interp.h (class _Jv_InterpMethod): Declare
    	run_class.
    	* interpret.cc (run_synch_class): Initialize class.
    	(run) [insn_invokestatic]: Don't initialize class.
    	[insn_anewarray]: Likewise.
    	[insn_multianewarray]: Likewise.
    	(run_class): New function.
    
    From-SVN: r61727