aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ir.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir.c')
-rw-r--r--src/ir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir.c b/src/ir.c
index ce36e64..6cdb43d 100644
--- a/src/ir.c
+++ b/src/ir.c
@@ -484,7 +484,7 @@ insertphi(Block *blk, enum irclass cls)
assert(blk->npred > 0);
xbgrowz(&refs, blk->npred);
vpush(&phitab, refs);
- instrtab[new] = mkinstr(Ophi, cls, mkref(RXXX, phitab.n - 1));
+ instrtab[new] = mkinstr1(Ophi, cls, {.i = phitab.n - 1});
vpush(&blk->phi, new);
return mkref(RTMP, new);
}