diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2018-06-13 15:50:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-13 15:50:18 +0200 |
commit | cd65ef0056c48ba06922aeec49bb0bd5c9d68fb9 (patch) | |
tree | 1e1be339a65e786c38b03ca7b635ea0ec96f6eab | |
parent | 518a3e7f737f8b093bee2690503416a1e380b741 (diff) | |
parent | dd06c468656e2c218c373be58702074def9c7ae6 (diff) | |
download | Nim-cd65ef0056c48ba06922aeec49bb0bd5c9d68fb9.tar.gz |
Merge pull request #8027 from yglukhov/vm-fix
Fixed uncaught exception in vm gen
-rw-r--r-- | compiler/vmgen.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/vmgen.nim b/compiler/vmgen.nim index 59fed3cf7..d2243376c 100644 --- a/compiler/vmgen.nim +++ b/compiler/vmgen.nim @@ -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]) |