diff options
| author | 2023-06-05 10:59:44 +0200 | |
|---|---|---|
| committer | 2023-06-05 10:59:44 +0200 | |
| commit | d8ba699bae286cb29a6a965ee204804649f0bbc8 (patch) | |
| tree | e39f855157b1b7ec592ad19407f83865fba1fea2 /ir.c | |
| parent | ed47a54958f5bd48dc364d4a0f77f778768696bb (diff) | |
style
Diffstat (limited to 'ir.c')
| -rw-r--r-- | ir.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -349,7 +349,7 @@ replref(struct function *fn, struct block *blk, int i0, union ref from, union re { do { if (!i0) for (int i = 0; i < blk->phi.n; ++i) { - struct phi *phi = &phitab.p[instrtab[blk->phi.p[i]].l.idx]; + struct phi *phi = &phitab.p[instrtab[blk->phi.p[i]].l.i]; for (int i = 0; i < phi->n; ++i) if (phi->ref[i].bits == to.bits) phi->ref[i] = from; } @@ -360,7 +360,7 @@ replref(struct function *fn, struct block *blk, int i0, union ref from, union re union ref *r = &(&ins->l)[i]; if (r->bits == from.bits) *r = to; else if (r->t == RMORE) { - struct call *call = &calltab.p[r->idx]; + struct call *call = &calltab.p[r->i]; assert(ins->op == Ocall || ins->op == Ointrin); for (int i = 0; i < call->narg; ++i) if (call->args[i].bits == from.bits) |