[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: CallInfo and Proto invariants
- From: Dibyendu Majumdar <mobile@...>
- Date: Sat, 14 Mar 2015 13:19:41 +0000
I am trying to understand some of the invariants for CallInfo and
Proto structures for Lua functions.
The 'top' field in CallInfo. Is this always 'base' +
'Proto.maxstacksize' ? Is this fixed at the time of the function
entry or can the 'top' change during execution?
The 'maxstacksize' in Proto - is this fixed when the function is
compiled or can it change over time? What does it take into account?
Thanks and Regards