From fc2681639fb9c989d75c8e3d5b07437070a8ecad Mon Sep 17 00:00:00 2001 From: Andrew Chambers Date: Fri, 15 Feb 2019 12:25:22 +1300 Subject: Fix bad assertion. --- qbe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qbe.c b/qbe.c index ab9bf15..fd1515b 100644 --- a/qbe.c +++ b/qbe.c @@ -184,7 +184,7 @@ mkintconst(struct representation *r, uint64_t n) uint64_t intconstvalue(struct value *v) { - assert(v->kind = VALCONST); + assert(v->kind == VALCONST); return v->i; } -- cgit v1.2.3