This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [gcjx] Patch: FYI: fix virtual dispatch
- From: Andrew Haley <aph at redhat dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: Java Patch List <java-patches at gcc dot gnu dot org>
- Date: Tue, 8 Mar 2005 19:01:18 +0000
- Subject: Re: [gcjx] Patch: FYI: fix virtual dispatch
- References: <m3wtsim0e0.fsf@localhost.localdomain>
Tom Tromey writes:
> I'm checking this in on the gcjx branch.
>
> This makes sure that the "receiver" of a virtual call is wrapped by
> save_expr. Otherwise, bad things happen.
save_expr is kinda lame, and there has been talk that perhaps it
shouldn't be used in new code. Might it be better to use a temp?
Andrew.