mirror of
https://github.com/luau-lang/luau.git
synced 2024-11-15 22:35:43 +08:00
6bfc38e61a
The description of SUBRK/DIVRK is out of sync with the VM code. Comment: ```cpp // SUBRK, DIVRK: compute arithmetic operation between the constant and a source register and put the result into target register // A: target register // B: source register // C: constant table index (0..255); must refer to a number LOP_SUBRK, LOP_DIVRK, ``` VM snippet: ```cpp VM_CASE(LOP_DIVRK) { Instruction insn = *pc++; StkId ra = VM_REG(LUAU_INSN_A(insn)); TValue* kv = VM_KV(LUAU_INSN_B(insn)); StkId rc = VM_REG(LUAU_INSN_C(insn)); ... ``` |
||
---|---|---|
.. | ||
Bytecode.h | ||
BytecodeUtils.h | ||
Common.h | ||
DenseHash.h | ||
ExperimentalFlags.h | ||
VecDeque.h |