Re: Is there stack associated when a executing an inline function?
- From: Morris Dovey <mrdovey@xxxxxxxx>
- Date: Fri, 29 Feb 2008 15:23:20 -0500
Richard Tobin wrote:
In article <12b8f0bd-7e79-486e-bdbf-b1e92a38ba2d@xxxxxxxxxxxxxxxxxxxxxxxxxxx>,
Kaz Kylheku <kkylheku@xxxxxxxxx> wrote:
However, it wouldn't be weird at all if the inlined procedure simply
moves the stack pointer by some delta to enlarge the current frame,
then references all of its locals with respect to the current frame,
and then moves the stack pointer back by the same delta upon
termination to release the storage.
But what would be the point?
It'd allow re-use of that memory by another (subsequent) inlined
procedure or function call. Waste not, want not.
--
Morris Dovey
DeSoto Solar
DeSoto, Iowa USA
http://www.iedu.com/DeSoto/Projects/Monitor/
.
- Follow-Ups:
- Re: Is there stack associated when a executing an inline function?
- From: Richard Tobin
- Re: Is there stack associated when a executing an inline function?
- References:
- Is there stack associated when a executing an inline function?
- From: Mahesh
- Re: Is there stack associated when a executing an inline function?
- From: Micah Cowan
- Re: Is there stack associated when a executing an inline function?
- From: jacob navia
- Re: Is there stack associated when a executing an inline function?
- From: Kaz Kylheku
- Re: Is there stack associated when a executing an inline function?
- From: Richard Tobin
- Is there stack associated when a executing an inline function?
- Prev by Date: Re: Is there stack associated when a executing an inline function?
- Next by Date: Re: Is there stack associated when a executing an inline function?
- Previous by thread: Re: Is there stack associated when a executing an inline function?
- Next by thread: Re: Is there stack associated when a executing an inline function?
- Index(es):
Relevant Pages
|