Re: code is not clean. libjava/interpret.cc:1480

Ian Lance Taylor <[email protected]>
Newsgroups gmane.comp.gcc.java.devel,gmane.comp.gcc.devel
Message-ID <[email protected]>
majia gm <[email protected]> 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  <[email protected]>
	
	* 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.