aboutsummaryrefslogtreecommitdiffhomepage
path: root/irdump.c
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2023-05-26 09:20:58 +0200
committerlemon <lsof@mailbox.org>2023-05-26 09:20:58 +0200
commit640a3dac2b18d037169af15dfd5502c386c7e828 (patch)
tree79e7ee3fa81e73855ce1bc78d7c4bf1ad3ac8f0d /irdump.c
parent9100ed2b5dd01df8e6b766c7bc2a12c0dd44f1ff (diff)
hm
Diffstat (limited to 'irdump.c')
-rw-r--r--irdump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/irdump.c b/irdump.c
index b7fbcc0..7855244 100644
--- a/irdump.c
+++ b/irdump.c
@@ -5,7 +5,7 @@ extern struct xcon conht[];
extern vec_of(struct ircall) calls;
static const char *clsname[] = {
- "?", "i4", "i8", "iP", "f4", "f8"
+ "?", "i4", "i8", "ptr", "f4", "f8"
};
static void
@@ -38,7 +38,7 @@ dumpref(union irref ref)
else switch (con->cls) {
case KI4: efmt("%d", con->i4); break;
case KI8: efmt("%ld", con->i8); break;
- case KIP: efmt("%'x", con->i8); break;
+ case KPTR: efmt("%'x", con->i8); break;
case KF4: efmt("%f", con->fs); break;
case KF8: efmt("%f", con->fd); break;
default: assert(0);