From f66a661359a39e10af01508ad02429517b8460e3 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Sat, 27 Apr 2024 15:06:32 -0700 Subject: Store enum constant value in struct decl --- qbe.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'qbe.c') 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) { -- cgit v1.2.3