rx.c (rx_expand_prologue): Set stack use information, if requested.

* config/rx/rx.c (rx_expand_prologue): Set stack use
	information, if requested.

From-SVN: r186314
This commit is contained in:
Nick Clifton 2012-04-11 12:49:22 +00:00 committed by Nick Clifton
parent cf5025b683
commit 84e6018367
2 changed files with 5 additions and 0 deletions

View File

@ -3,6 +3,8 @@
* config/rl78/rl78.c (rl78_expand_prologue): Set stack use
information, if requested.
* config/rx/rx.c (rx_expand_prologue): Likewise.
2012-04-11 Peter Bergner <bergner@vnet.ibm.com>
Michael Matz <matz@suse.de>

View File

@ -1606,6 +1606,9 @@ rx_expand_prologue (void)
rx_get_stack_layout (& low, & high, & mask, & frame_size, & stack_size);
if (flag_stack_usage_info)
current_function_static_stack_size = frame_size + stack_size;
/* If we use any of the callee-saved registers, save them now. */
if (mask)
{