aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2025-11-24 08:27:17 +0100
committerlemon <lsof@mailbox.org>2025-11-24 08:27:22 +0100
commitd0dde5bc533b321ad35113d45c6b167d8f9e9ffc (patch)
tree908c08343cdc4409abda5f30ff431173d24dcb1c
parent6464ec389e2da17b1674858858406e211b16e5f6 (diff)
ir.h: tweak mkintrin() definition to work with tinycc
-rw-r--r--ir/ir.h2
1 files changed, 1 insertions, 1 deletions
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);