Commit f991a240 by Richard Kenner

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

a REG.

From-SVN: r9851
parent 28b6accc
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment