This commit is contained in:
Andreas Rumpf 2018-02-11 13:55:56 +01:00
commit 358709e9cb
3 changed files with 34 additions and 2 deletions

View file

@ -726,6 +726,7 @@ proc genProcAux(m: BModule, prc: PSym) =
else:
fillResult(resNode)
assignParam(p, res)
resetLoc(p, res.loc)
if skipTypes(res.typ, abstractInst).kind == tyArray:
#incl(res.loc.flags, lfIndirect)
res.loc.storage = OnUnknown