(prepare_call_address): Only call use_reg on static_chain_rtx if it is

a REG.

From-SVN: r9851
This commit is contained in:
Richard Kenner 1995-05-31 17:59:44 -04:00
parent 28b6accc10
commit f991a24039
1 changed files with 2 additions and 1 deletions

View File

@ -291,7 +291,8 @@ prepare_call_address (funexp, fndecl, call_fusage, reg_parm_seen)
{
emit_move_insn (static_chain_rtx, static_chain_value);
use_reg (call_fusage, static_chain_rtx);
if (GET_CODE (static_chain_rtx) == REG)
use_reg (call_fusage, static_chain_rtx);
}
return funexp;