This commit is contained in:
Andreas Rumpf
2016-05-11 21:34:54 +02:00
parent ac1a753aff
commit 1ae95310ad

View File

@@ -961,6 +961,8 @@ proc genAsmOrEmitStmt(p: BProc, t: PNode, isAsmStmt=false): Rope =
var a: TLoc
initLocExpr(p, t.sons[i], a)
res.add($rdLoc(a))
elif sym.kind == skType:
res.add($getTypeDesc(p.module, sym.typ))
else:
var r = sym.loc.r
if r == nil: