This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] C++ space optimization: de-cloning con/de/structors


On Wed, Aug 07, 2002 at 12:50:52AM +0100, Nathan Sidwell wrote:
> I don't see why you'd have to get a register shuffle. You could,
> for instance, simply shove the new parameter in the 'last'
> register, having saved that off to the call stack. The parameter
> order seen by the final function might be a bit odd.

If you muck with the call frame at all, you pretty much
prevent the tail-call optimization.  Which will result
in a different sort of register shuffle.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]