aboutsummaryrefslogtreecommitdiff
path: root/qbe.c
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2024-04-27 15:06:32 -0700
committerMichael Forney <mforney@mforney.org>2024-04-27 15:34:27 -0700
commitf66a661359a39e10af01508ad02429517b8460e3 (patch)
treebfc5ffdc688f02d8c36416bcfef2ce2727c5443f /qbe.c
parent4f206ac1ea1b20400fa242f2f3be86237c4ba3bf (diff)
Store enum constant value in struct decl
Diffstat (limited to 'qbe.c')
-rw-r--r--qbe.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/qbe.c b/qbe.c
index 1cb87c8..33d6b71 100644
--- a/qbe.c
+++ b/qbe.c
@@ -163,13 +163,6 @@ mkintconst(unsigned long long n)
return v;
}
-unsigned long long
-intconstvalue(struct value *v)
-{
- assert(v->kind == VALUE_INTCONST);
- return v->u.i;
-}
-
static struct value *
mkfltconst(int kind, double n)
{