This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: code is not clean. libjava/interpret.cc:1480
- From: Ian Lance Taylor <iant at google dot com>
- To: majia gm <gmmajia at gmail dot com>
- Cc: gcc at gcc dot gnu dot org, Java List <java at gcc dot gnu dot org>, kgallowa at redhat dot com
- Date: Mon, 17 Jan 2011 15:50:50 -0800
- Subject: Re: code is not clean. libjava/interpret.cc:1480
- References: <AANLkTi=s-gPMRzNg1Xz=zbv-usNv+EHKy6j9tizhRHw5@mail.gmail.com>
majia gm <gmmajia@gmail.com> writes:
> libjava/interpret.cc:1480
>
> gcc 4.4.0, 4.4.2 and 4.5.2 have the same problem.
What precisely are you trying to say?
If you are trying to say that this code will not compile if
DIRECT_THREADED is not defined, then I agree. It appears to have been
broken by this patch, which is where the code was first introduced:
2007-02-15 Kyle Galloway <kgallowa@redhat.com>
* interpret.cc (_Jv_InterpMethod::check_handler): New method.
I've CC'ed Kyle Galloway.
I assume that in practice DIRECT_THREADED is always defined. Looking at
libjava/include/java-interp.h, that does indeed appear to be the case.
Ian