Fixed uncaught exception in vm gen
This commit is contained in:
parent
5348fef003
commit
dd06c46865
1 changed files with 1 additions and 1 deletions
|
|
@ -804,7 +804,7 @@ proc genIntCast(c: PCtx; n: PNode; dest: var TDest) =
|
|||
else:
|
||||
globalError(c.config, n.info, "VM is only allowed to 'cast' between integers of same size")
|
||||
|
||||
proc genVoidABC(c: PCtx, n: PNode, dest: TRegister, opcode: TOpcode) =
|
||||
proc genVoidABC(c: PCtx, n: PNode, dest: TDest, opcode: TOpcode) =
|
||||
unused(c, n, dest)
|
||||
var
|
||||
tmp1 = c.genx(n[1])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue