use control flow graph for sink params
This commit is contained in:
parent
a50cfbf814
commit
dc935f2b41
3 changed files with 23 additions and 44 deletions
|
|
@ -272,7 +272,7 @@ proc genReturn(c: var Con; n: PNode) =
|
|||
c.code.add Instr(n: n, kind: goto, dest: high(int) - c.code.len)
|
||||
|
||||
const
|
||||
InterestingSyms = {skVar, skResult, skLet}
|
||||
InterestingSyms = {skVar, skResult, skLet, skParam}
|
||||
|
||||
proc genUse(c: var Con; n: PNode) =
|
||||
var n = n
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue