run-time stack-based allocation

Gor Gyolchanyan gor.f.gyolchanyan at gmail.com
Mon May 7 09:07:21 PDT 2012


I'd decrease ESP to allocate my space, but the problem arises when I
try to determine when should I increase it back where it was. Any
suggestions on how to do this using asm?

On Mon, May 7, 2012 at 8:03 PM, Mehrdad <wfunction at hotmail.com> wrote:
> On Monday, 7 May 2012 at 13:36:02 UTC, Gor Gyolchanyan wrote:
>>
>> Basically I want what alloca does, but instead of considering the
>> constructor's scope, I want it to hand to the constructor call's enclosing
>> scope.
>
>
> I think you'd need to modify the compiler for this, since alloca is
> 'magical'.



-- 
Bye,
Gor Gyolchanyan.


More information about the Digitalmars-d mailing list