[Tiny] correct comment opcDeref => opcLdDeref (#19908)
correct comment opcDeref => opcLdDeref
This commit is contained in:
parent
0ae44e562f
commit
a65db5e2e9
1 changed files with 1 additions and 1 deletions
|
|
@ -642,7 +642,7 @@ proc rawExecute(c: PCtx, start: int, tos: PStackFrame): TFullReg =
|
||||||
of opcNodeToReg:
|
of opcNodeToReg:
|
||||||
let ra = instr.regA
|
let ra = instr.regA
|
||||||
let rb = instr.regB
|
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:
|
# this is still correct this way:
|
||||||
if regs[rb].kind != rkNode:
|
if regs[rb].kind != rkNode:
|
||||||
regs[ra] = regs[rb]
|
regs[ra] = regs[rb]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue