lua-users home
lua-l archive

Re: CallInfo and Proto invariants

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> I understand that L->top changes across function calls, but can
> ci->top for a given frame also change?
 grep 'ci->top *=' l*.[ch]
> Is it that 'maxstacksize' represents the number of registers that must
> be left on the current stack frame when a new stack frame is pushed?
It represents the total number of registers that a function needs. (The
name is reminecent of when the VM was stack based.)
-- Roberto

AltStyle によって変換されたページ (->オリジナル) /