sh.c (sh_function_ok_for_sibcall): Return 0 if the current function is an interrupt handler.
* sh.c (sh_function_ok_for_sibcall): Return 0 if the current function is an interrupt handler. From-SVN: r65204
This commit is contained in:
parent
8d3b095348
commit
70aadfcca2
|
@ -1,8 +1,11 @@
|
|||
Thu Apr 3 17:08:09 2003 J"orn Rennecke <joern.rennecke@superh.com>
|
||||
Thu Apr 3 17:57:59 2003 J"orn Rennecke <joern.rennecke@superh.com>
|
||||
|
||||
* Avoid clash of temp register for restoring target registers
|
||||
with EH_RETURN_STACKADJ_RTX; use multiple registers in round-robin
|
||||
fashion.
|
||||
* sh.c (sh_function_ok_for_sibcall): Return 0 if the current
|
||||
function is an interrupt handler.
|
||||
|
||||
* sh.c (sh_expand_epilogue): Avoid clash of temp register for
|
||||
restoring target registers with EH_RETURN_STACKADJ_RTX; use
|
||||
multiple registers in round-robin fashion.
|
||||
|
||||
2003-04-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||
|
||||
|
|
|
@ -7934,7 +7934,8 @@ sh_function_ok_for_sibcall (decl, exp)
|
|||
{
|
||||
return (decl
|
||||
&& (! TARGET_SHCOMPACT
|
||||
|| current_function_args_info.stack_regs == 0));
|
||||
|| current_function_args_info.stack_regs == 0)
|
||||
&& ! sh_cfun_interrupt_handler_p ());
|
||||
}
|
||||
|
||||
/* Machine specific built-in functions. */
|
||||
|
|
Loading…
Reference in New Issue