Proposed fix for issue #1946
This commit is contained in:
parent
f25c47db1a
commit
ca257efc84
1 changed files with 1 additions and 0 deletions
|
|
@ -984,6 +984,7 @@ proc rawExecute(c: PCtx, start: int, tos: PStackFrame): TFullReg =
|
|||
let rb = instr.regBx - wordExcess
|
||||
let cnst = c.constants.sons[rb]
|
||||
if fitsRegister(cnst.typ):
|
||||
myreset(regs[ra])
|
||||
putIntoReg(regs[ra], cnst)
|
||||
else:
|
||||
ensureKind(rkNode)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue