Introduce rtl_data::init_stack_alignment
authorDavid Malcolm <dmalcolm@redhat.com>
Wed, 7 Dec 2016 16:41:05 +0000 (16:41 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Wed, 7 Dec 2016 16:41:05 +0000 (16:41 +0000)
commit8194c537463de4a5e6bd368c1c5fab2fafc40bdf
tree64d9cf5bf54f19e1906173df4958740b7415def8
parent27e7087f51cef38da59c87e210af64f240a3ff23
Introduce rtl_data::init_stack_alignment

Move this part of "expand"'s initialization of crtl into its own
method so that it can used by the RTL frontend when postprocessing
RTL dumps.

gcc/ChangeLog:
* cfgexpand.c (pass_expand::execute): Move stack initializations
to rtl_data::init_stack_alignment and call it.
* emit-rtl.c (rtl_data::init_stack_alignment): New method.
* emit-rtl.h (rtl_data::init_stack_alignment): New method.

From-SVN: r243371
gcc/ChangeLog
gcc/cfgexpand.c
gcc/emit-rtl.c
gcc/emit-rtl.h