mirror of
https://github.com/nim-lang/Nim.git
synced 2026-06-01 09:31:18 +00:00
[Tiny] correct comment opcDeref => opcLdDeref (#19908)
correct comment opcDeref => opcLdDeref
(cherry picked from commit a65db5e2e9)
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user