From 3f2221dfb9ab33b7ac44bbf822a78753a0357d25 Mon Sep 17 00:00:00 2001 From: lemon Date: Wed, 21 Jun 2023 23:52:23 +0200 Subject: mem2reg: implement ssa construction; this breaks regalloc right now --- common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common.h') diff --git a/common.h b/common.h index ecee563..319903e 100644 --- a/common.h +++ b/common.h @@ -393,7 +393,7 @@ int imap_set_(struct imapbase *, void **v, uint vsiz, short k); (m)->mb.n = 0) #define imap_get(m, k) (((m)->tmp = imap_get_(&(m)->mb, k)) < 0 ? NULL : &(m)->v[(m)->tmp]) #define imap_set(m, k, x) ((m)->tmp = imap_set_(&(m)->mb, (void **)&(m)->v, sizeof*(m)->v, k), \ - (m)->v[(m)->tmp] = (x)) + (m)->v[(m)->tmp] = (x), &(m)->v[(m)->tmp]) struct pmapbase { void **k; uint n, N; }; /* map of non-null ptr -> T */ -- cgit v1.2.3