Re: Is there stack associated when a executing an inline function?
- From: Kaz Kylheku <kkylheku@xxxxxxxxx>
- Date: Fri, 29 Feb 2008 12:06:35 -0800 (PST)
On Feb 29, 11:08 am, jacob navia <ja...@xxxxxxxxxx> wrote:
It would be completely weird that in an inline procedure the compiler
would save the current stack pointer and establish a new stack
frame since there is no function call.
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.
.
- 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?
- From: jacob navia
- 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: jacob navia
- Re: Is there stack associated when a executing an inline function?
- From: Keith Thompson
- 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: Micah Cowan
- Re: Is there stack associated when a executing an inline function?
- From: jacob navia
- Is there stack associated when a executing an inline function?
- Prev by Date: Re: array index and pointer, which is faster?
- 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
|