aboutsummaryrefslogtreecommitdiffhomepage
path: root/ir/dump.c
diff options
context:
space:
mode:
author lemon<lsof@mailbox.org>2026-02-28 20:38:55 +0100
committer lemon<lsof@mailbox.org>2026-02-28 20:38:55 +0100
commitf06da11d8524a9eb7fe984171d4462cef8eac2e6 (patch)
tree0050bede4ec0e9939e4a5f98be089a539d5810d2 /ir/dump.c
parent3d1efdcc77de5ce8f3279bd22b0a510a699229ea (diff)
ir: make address ref hash table resizable
Would hit the limit on very large functions (thanks csmith).
Diffstat (limited to 'ir/dump.c')
-rw-r--r--ir/dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/dump.c b/ir/dump.c
index bb6a2fd..35b39de 100644
--- a/ir/dump.c
+++ b/ir/dump.c
@@ -137,7 +137,7 @@ dumpref(enum op o, union ref ref)
break;
case RADDR:
{
- const struct addr *addr = &addrht[ref.i];
+ const struct addr *addr = &addrtab.p[ref.i];
bool k = 0;
bfmt(out, "addr [");
if ((k = addr->base.bits)) dumpref(0, addr->base);