]> git.ipfire.org Git - thirdparty/gcc.git/commit
defineclass.cc (handleMethodsEnd): Precompute code for static method.
authorTom Tromey <tromey@redhat.com>
Fri, 24 Jan 2003 19:58:21 +0000 (19:58 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Fri, 24 Jan 2003 19:58:21 +0000 (19:58 +0000)
commit4c98b1b0782cb1ad25a5d1f44391d65b12f9a566
treef37c4a601e54ff85516e178f32e45db587bf62ce
parentd291503a6733535c462bf71c03347c2452a523ee
defineclass.cc (handleMethodsEnd): Precompute code for static method.

* 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
libjava/ChangeLog
libjava/defineclass.cc
libjava/include/java-interp.h
libjava/interpret.cc
libjava/resolve.cc