Commit 87912be7 by J"orn Rennecke Committed by Joern Rennecke

sh.h (FUNCTION_ARG_ADVANCE): Take SHCOMPACT_FORCE_ON_STACK arguments into account for stack_regs.

	* sh.h (FUNCTION_ARG_ADVANCE): Take SHCOMPACT_FORCE_ON_STACK
	arguments into account for stack_regs.

From-SVN: r54961
parent 0d893a63
Mon Jun 24 18:53:56 2002 J"orn Rennecke <joern.rennecke@superh.com>
* sh.h (FUNCTION_ARG_ADVANCE): Take SHCOMPACT_FORCE_ON_STACK
arguments into account for stack_regs.
2002-06-24 Matt Kraai <kraai@alumni.cmu.edu>
* doc/extend.texi: Change `@dots{}' to `/* @r{@dots{}} */'
......
......@@ -1711,9 +1711,13 @@ struct sh_args {
(CUM).arg_count[(int) SH_ARG_INT] += numregs; \
if (TARGET_SHCOMPACT \
&& SHCOMPACT_FORCE_ON_STACK (MODE_, TYPE_)) \
(CUM).call_cookie \
|= CALL_COOKIE_INT_REG (((CUM).arg_count[(int) SH_ARG_INT] \
- numregs), 1); \
{ \
(CUM).call_cookie \
|= CALL_COOKIE_INT_REG (((CUM).arg_count[(int) SH_ARG_INT] \
- numregs), 1); \
/* N.B. We want this also for outgoing. */\
(CUM).stack_regs += numregs; \
} \
else if ((CUM).byref) \
{ \
if (! (CUM).outgoing) \
......
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