aboutsummaryrefslogtreecommitdiffhomepage
path: root/ir/dump.c
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2026-02-19 20:29:16 +0100
committerlemon <lsof@mailbox.org>2026-02-19 20:29:16 +0100
commitad8067a1ab1871cf57936828fb1b40c15cd3349d (patch)
treead86757ae0f84f1fd7dd58373cdb4f50d7f036d6 /ir/dump.c
parent1430f62ebed808458baccbdf0e41b806334ff704 (diff)
IR: just use an array for extended constants
The extra work of using a hashtable to intern them is probably unnecessary.
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 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));