Questions about trampolines
Robert Dewar
dewar@adacore.com
Thu Mar 24 16:08:00 GMT 2005
Hans-Peter Nilsson wrote:
> On Sun, 13 Mar 2005, Ãyvind Harboe wrote:
>
>
>>Trampolines are strange things... :-)
>
>
>>- AFAICT, the cris target is saving the value of the
>> static chain register in the trampoline. How can that work
>> with recursive functions?
>
>
> What's wrong with that?
> Do I miss something fundamental?
You miss nothing, the whole point of a trampoline is to
save the value of the static chain value.
More information about the Gcc
mailing list