From ad8067a1ab1871cf57936828fb1b40c15cd3349d Mon Sep 17 00:00:00 2001 From: lemon Date: Thu, 19 Feb 2026 20:29:16 +0100 Subject: IR: just use an array for extended constants The extra work of using a hashtable to intern them is probably unnecessary. --- ir/dump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ir/dump.c') diff --git a/ir/dump.c b/ir/dump.c index cf8d788..bb6a2fd 100644 --- a/ir/dump.c +++ b/ir/dump.c @@ -107,7 +107,7 @@ dumpref(enum op o, union ref ref) else bfmt(out, "%d", ref.i); break; case RXCON: - con = &conht[ref.i]; + con = &contab.p[ref.i]; if (con->deref) bfmt(out, "*["); if (con->issym || con->isdat) { bfmt(out, "$%y", xcon2sym(ref.i)); -- cgit v1.2.3