This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: New lang hook: ok_for_sibcall


Fergus Henderson writes:
 > On 21-May-2003, Andrew Haley <aph@redhat.com> wrote:
 > > Sibcalls break Java programs in interesting ways.  To fix this while
 > > still allowing sibcalls to be used where it won't hurt, I need to be
 > > able to control when a sibcall is allowed.
 > 
 > What about sibcalls via function pointers?
 > For those, fndecl in expand_call() will be a null pointer.
 > Your patch doesn't seem to handle that case.

It doesn't need to.  The test 'fndecl == NULL_TREE' is before the call
to ok_for_sibcall.

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]