[Tiny] correct comment opcDeref => opcLdDeref (#19908)

correct comment opcDeref => opcLdDeref

(cherry picked from commit a65db5e2e9)
This commit is contained in:
flywind
2022-06-21 15:37:23 +08:00
committed by narimiran
parent c9e7798978
commit 62ac3a01fa

View File

@@ -642,7 +642,7 @@ proc rawExecute(c: PCtx, start: int, tos: PStackFrame): TFullReg =
of opcNodeToReg:
let ra = instr.regA
let rb = instr.regB
# opcDeref might already have loaded it into a register. XXX Let's hope
# opcLdDeref might already have loaded it into a register. XXX Let's hope
# this is still correct this way:
if regs[rb].kind != rkNode:
regs[ra] = regs[rb]