r254480 - in /trunk/gcc: ChangeLog config/i386/...

hjl@gcc.gnu.org hjl@gcc.gnu.org
Mon Nov 6 23:04:00 GMT 2017


Author: hjl
Date: Mon Nov  6 23:04:15 2017
New Revision: 254480

URL: https://gcc.gnu.org/viewcvs?rev=254480&root=gcc&view=rev
Log:
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.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.c



More information about the Gcc-cvs mailing list