From d0dde5bc533b321ad35113d45c6b167d8f9e9ffc Mon Sep 17 00:00:00 2001 From: lemon Date: Mon, 24 Nov 2025 08:27:17 +0100 Subject: ir.h: tweak mkintrin() definition to work with tinycc --- ir/ir.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ir') diff --git a/ir/ir.h b/ir/ir.h index 9047233..6cab245 100644 --- a/ir/ir.h +++ b/ir/ir.h @@ -254,7 +254,7 @@ union ref mkdatref(const char *name, union type ctype, uint siz, uint align, con const char *xcon2sym(int ref); struct instr mkalloca(uint siz, uint align); union ref mkcallarg(union irtype ret, uint narg, int vararg); -#define mkintrin(B, C, N) mkinstr(Ointrin, C, {.t=RICON,B}, mkcallarg((union irtype){{0}},N,-1)) +#define mkintrin(B, C, N) mkinstr(Ointrin, C, {{.t=RICON,B}}, mkcallarg((union irtype){{0}},N,-1)) union ref mkaddr(struct addr); void addpred(struct block *blk, struct block *p); -- cgit v1.2.3