mirror of
https://github.com/luau-lang/luau.git
synced 2025-08-26 11:27:08 +01:00
Add missing documentation for FORGPREP_INEXT and FORGPREP_NEXT (#1933)
Added documentation for FORGPREP_INEXT and FORGPREP_NEXT regarding the D argument, which is used as the jump offset to the corresponding FORGLOOP instruction.
This commit is contained in:
parent
66202dc4ac
commit
eaab9c4363
1 changed files with 2 additions and 0 deletions
|
@ -298,6 +298,7 @@ enum LuauOpcode
|
|||
|
||||
// FORGPREP_INEXT: prepare FORGLOOP with 2 output variables (no AUX encoding), assuming generator is luaB_inext, and jump to FORGLOOP
|
||||
// A: target register (see FORGLOOP for register layout)
|
||||
// D: jump offset (-32768..32767)
|
||||
LOP_FORGPREP_INEXT,
|
||||
|
||||
// FASTCALL3: perform a fast call of a built-in function using 3 register arguments
|
||||
|
@ -310,6 +311,7 @@ enum LuauOpcode
|
|||
|
||||
// FORGPREP_NEXT: prepare FORGLOOP with 2 output variables (no AUX encoding), assuming generator is luaB_next, and jump to FORGLOOP
|
||||
// A: target register (see FORGLOOP for register layout)
|
||||
// D: jump offset (-32768..32767)
|
||||
LOP_FORGPREP_NEXT,
|
||||
|
||||
// NATIVECALL: start executing new function in native code
|
||||
|
|
Loading…
Add table
Reference in a new issue