mn10300.c (mn10300_expand_prologue): Report stack usage if requested.

* config/mn10300/mn10300.c (mn10300_expand_prologue): Report
	stack usage if requested.

From-SVN: r190198
This commit is contained in:
Nick Clifton 2012-08-07 10:27:37 +00:00 committed by Nick Clifton
parent 233115eaf5
commit d13abe1e88
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2012-08-07 Nick Clifton <nickc@redhat.com>
* config/mn10300/mn10300.c (mn10300_expand_prologue): Report
stack usage if requested.
2012-08-06 Cary Coutant <ccoutant@google.com>
* cgraphunit.c (assemble_thunk): Add source line info.

View File

@ -744,6 +744,9 @@ mn10300_expand_prologue (void)
{
HOST_WIDE_INT size = mn10300_frame_size ();
if (flag_stack_usage_info)
current_function_static_stack_size = size;
/* If we use any of the callee-saved registers, save them now. */
mn10300_gen_multiple_store (mn10300_get_live_callee_saved_regs (NULL));