diff options
| author | Quentin Carbonneaux <[email protected]> | 2022-11-20 21:39:36 +0100 |
|---|---|---|
| committer | Quentin Carbonneaux <[email protected]> | 2022-11-20 21:44:25 +0100 |
| commit | 0d50ebaed94f595961d88544a028bf7f523d3eac (patch) | |
| tree | c11c340d53c25b44342e6a3ebc58cfa8fb5ec065 /ssa.c | |
| parent | 8ecae922997c55f70cd9e19cbf947a520f7ecca3 (diff) | |
fill definition site in filluse()
Diffstat (limited to 'ssa.c')
| -rw-r--r-- | ssa.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -47,6 +47,7 @@ filluse(Fn *fn) /* todo, is this the correct file? */ tmp = fn->tmp; for (t=Tmp0; t<fn->ntmp; t++) { + tmp[t].ins = 0; tmp[t].bid = -1u; tmp[t].ndef = 0; tmp[t].nuse = 0; @@ -88,6 +89,7 @@ filluse(Fn *fn) w = WFull; t = i->to.val; tmp[t].width = w; + tmp[t].ins = i; tmp[t].bid = b->id; tmp[t].ndef++; tmp[t].cls = i->cls; |
