i386: Use reference of struct ix86_frame to avoid copy
commit79e3681d1c9dd3e45c1be06464fbef5874a25826
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 6 Nov 2017 23:04:15 +0000 (6 23:04 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 6 Nov 2017 23:04:15 +0000 (6 23:04 +0000)
treedf038db50d2574619f89cd2d3ac6d2d643462d51
parent9a0bd5be062c3ba612cef70a1d5acf463431e918
i386: Use reference of struct ix86_frame to avoid copy

When there is no need to make a copy of ix86_frame, we can use reference
of struct ix86_frame to avoid copy.

Tested on x86-64.

* config/i386/i386.c (ix86_can_use_return_insn_p): Use reference
of struct ix86_frame.
(ix86_initial_elimination_offset): Likewise.
(ix86_expand_split_stack_prologue): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@254480 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/i386/i386.c