2009/1/12 Ludovic Courtès <l...@gnu.org>:
> Hello,
>
> "Neil Jerram" <neiljer...@googlemail.com> writes:
>
>> That's good, but I think I didn't explain the possible problem fully,
>> i.e. that the substitute won't work.  Because of how Guile saves and
>> restores continuations (by copying the stack), and how it uses alloca
>> to create space for debug information on the stack, we must have an
>> alloca() that really does use the stack, and not one that uses the
>> heap.  And when I last checked, the common substitute definition of
>> alloca() uses the heap.
>
> Aaah, you're right.  Then we should use the `alloca-opt' module instead,
> which does what we want AFAIU.

Ah, great; just trying that out now...

    Neil


Reply via email to