This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: simple inlining for gcjh
- To: tromey at cygnus dot com
- Subject: Re: PATCH: simple inlining for gcjh
- From: Per Bothner <bothner at cygnus dot com>
- Date: Sun, 13 Dec 1998 16:00:46 -0800
- cc: Egcs Patch List <egcs-patches at cygnus dot com>
I like the basic concept, but I have one concern.
I think it is important that we have cc1plus treat these
translated methods as "inline external", so cc1plus does not
try to emit a non-inline method. I'm not sure your patch
will do that.
One solution is to emit #pragma interface in the header files.
The prevents cc1plus from emitting vtables, inlined methods,
or debugging information, assuming they are defined in some
other .o file. Thta is the case - except when we have gcjh
add extra fields/methods not in the Java version.
--Per Bothner
Cygnus Solutions bothner@cygnus.com http://www.cygnus.com/~bothner