lua-users home
lua-l archive

Re: prefix of "OP_TFORCALL" and "OP_TFORLOOP"

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


> Opcode "OP_TFORCALL" and "OP_TFORLOOP" are for "generic for loop", I'm curious about what is the prefix "T" stands for ?
It means "table". It's from the time before the generic for, when
there was a table loop: for k,v in t do ... end.

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