[gcjx] Patch: FYI: fix virtual dispatch

Andrew Haley aph@redhat.com
Tue Mar 8 21:08:00 GMT 2005


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.



More information about the Java-patches mailing list