Re: [PATCH] i386: Use reference of struct ix86_frame to avoid copy

2017-11-06 Thread Uros Bizjak
On Mon, Nov 6, 2017 at 10:20 PM, H.J. Lu wrote: > 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. OK for trunk? > > > H.J. > -- > * config/i386/i386.c (ix86_can_use_return_insn_p): Use reference >

[PATCH] i386: Use reference of struct ix86_frame to avoid copy

2017-11-06 Thread H.J. Lu
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. OK for trunk? H.J. -- * config/i386/i386.c (ix86_can_use_return_insn_p): Use reference of struct ix86_frame. (ix86_initial_elimination_offset):