DFA: fixes wrong 'def' instruction emission
This commit is contained in:
parent
71fd4acaeb
commit
9c6b628df6
1 changed files with 6 additions and 5 deletions
|
|
@ -594,6 +594,7 @@ proc genCall(c: var Con; n: PNode) =
|
||||||
inc c.inCall
|
inc c.inCall
|
||||||
for i in 1..<n.len:
|
for i in 1..<n.len:
|
||||||
gen(c, n[i])
|
gen(c, n[i])
|
||||||
|
when false:
|
||||||
if t != nil and i < t.len and t.sons[i].kind == tyVar:
|
if t != nil and i < t.len and t.sons[i].kind == tyVar:
|
||||||
# XXX This is wrong! Pass by var is a 'might def', not a 'must def'
|
# XXX This is wrong! Pass by var is a 'might def', not a 'must def'
|
||||||
# like the other defs we emit. This is not good enough for a move
|
# like the other defs we emit. This is not good enough for a move
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue