This commit is contained in:
andri lim 2016-10-27 12:22:12 +07:00
commit bd560d6a4e
4 changed files with 15 additions and 9 deletions

View file

@ -1068,7 +1068,7 @@ proc genMagic(c: PCtx; n: PNode; dest: var TDest; m: TMagic) =
else:
# setter
unused(n, dest)
genUnaryStmt(c, n, opcNError)
genBinaryStmt(c, n, opcNError)
of mNCallSite:
if dest < 0: dest = c.getTemp(n.typ)
c.gABC(n, opcCallSite, dest)