aboutsummaryrefslogtreecommitdiffhomepage
path: root/irdump.c
diff options
context:
space:
mode:
Diffstat (limited to 'irdump.c')
-rw-r--r--irdump.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/irdump.c b/irdump.c
index c41a196..49bca6b 100644
--- a/irdump.c
+++ b/irdump.c
@@ -116,9 +116,8 @@ dumpref(enum op o, union ref ref)
dumpref(0, phi->ref[i]);
}
} else {
- struct addr *addr = &addrtab.p[ref.i];
+ const struct addr *addr = &addrht[ref.i];
bool k = 0;
- assert(addrtab.n > ref.i);
efmt("addr [");
if ((k = addr->base.t)) dumpref(0, addr->base);
if (addr->index.t) {