This commit is contained in:
Araq 2013-07-01 20:25:38 +02:00
commit dfe195a4a1
2 changed files with 4 additions and 1 deletions

View file

@ -873,4 +873,4 @@ proc genAsgn(p: BProc, e: PNode, fastAsgn: bool) =
proc genStmts(p: BProc, t: PNode) =
var a: TLoc
expr(p, t, a)
InternalAssert a.k in {locNone, locTemp}
InternalAssert a.k in {locNone, locTemp, locLocalVar}