diff options
author | David Malcolm <dmalcolm@redhat.com> | 2016-12-07 16:41:05 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2016-12-07 16:41:05 +0000 |
commit | 8194c537463de4a5e6bd368c1c5fab2fafc40bdf (patch) | |
tree | 64d9cf5bf54f19e1906173df4958740b7415def8 /gcc/emit-rtl.h | |
parent | 27e7087f51cef38da59c87e210af64f240a3ff23 (diff) | |
download | gcc-8194c537463de4a5e6bd368c1c5fab2fafc40bdf.tar.gz |
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
Diffstat (limited to 'gcc/emit-rtl.h')
-rw-r--r-- | gcc/emit-rtl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/emit-rtl.h b/gcc/emit-rtl.h index a919bf072ab..88ba5894dfe 100644 --- a/gcc/emit-rtl.h +++ b/gcc/emit-rtl.h @@ -55,6 +55,8 @@ struct GTY(()) incoming_args { /* Datastructures maintained for currently processed function in RTL form. */ struct GTY(()) rtl_data { + void init_stack_alignment (); + struct expr_status expr; struct emit_status emit; struct varasm_status varasm; |