Commit 6d100794 by Richard Kenner

(expand_builtin_apply): Put new function usage data at end of any data

already there.

From-SVN: r7274
parent e59e60a7
...@@ -7817,8 +7817,20 @@ expand_builtin_apply (function, arguments, argsize) ...@@ -7817,8 +7817,20 @@ expand_builtin_apply (function, arguments, argsize)
if (! call_insn) if (! call_insn)
abort (); abort ();
/* Put the register usage information on the CALL. */ /* Put the register usage information on the CALL. If there is already
CALL_INSN_FUNCTION_USAGE (call_insn) = call_fusage; some usage information, put ours at the end. */
if (CALL_INSN_FUNCTION_USAGE (call_insn))
{
rtx link;
for (link = CALL_INSN_FUNCTION_USAGE (call_insn); XEXP (link, 1) != 0;
link = XEXP (link, 1))
;
XEXP (link, 1) = call_fusage;
}
else
CALL_INSN_FUNCTION_USAGE (call_insn) = call_fusage;
/* Restore the stack. */ /* Restore the stack. */
emit_stack_restore (SAVE_BLOCK, old_stack_level, NULL_RTX); emit_stack_restore (SAVE_BLOCK, old_stack_level, NULL_RTX);
......
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