aboutsummaryrefslogtreecommitdiffhomepage
path: root/ir.h
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2023-05-30 18:20:21 +0200
committerlemon <lsof@mailbox.org>2023-05-31 08:27:39 +0200
commit05c305bee19221e3b5b9557267c5cfa7525f752f (patch)
treee815dc1c9bce65c3c162146df9cba2d265766ec2 /ir.h
parent43566b21908d80b7c4448c1547c520e3e7c155af (diff)
fix void conditional expr; condjump, condexprvalue optimizations
Diffstat (limited to 'ir.h')
-rw-r--r--ir.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ir.h b/ir.h
index eee4859..b8095d9 100644
--- a/ir.h
+++ b/ir.h
@@ -117,6 +117,7 @@ union ref mkcall(struct function *, union type fnty, uint narg, union ref *, uni
union ref addinstr(struct function *, struct instr);
union ref addphi2(struct function *, enum irclass cls,
struct block *b1, union ref r1, struct block *b2, union ref r2);
+union ref addphi(struct function *, enum irclass cls, struct block **blk, union ref *ref, uint n);
struct block *newblk(struct function *);
void useblk(struct function *, struct block *);
void putjump(struct function *, enum jumpkind, union ref arg, struct block *t, struct block *f);