mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-31 18:32:11 +00:00
Merge pull request #8027 from yglukhov/vm-fix
Fixed uncaught exception in vm gen
This commit is contained in:
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user