diff options
author | Andrew Chambers <andrewchambers@fastmail.com> | 2019-02-15 12:25:22 +1300 |
---|---|---|
committer | Andrew Chambers <andrewchambers@fastmail.com> | 2019-02-15 12:25:22 +1300 |
commit | fc2681639fb9c989d75c8e3d5b07437070a8ecad (patch) | |
tree | c76edeeec50b0ccc773a230219e1fc40e98b7cd9 /qbe.c | |
parent | 7e5d1aca647f13c0ae3a7cb0d4aff602e6bf7bea (diff) |
Fix bad assertion.
Diffstat (limited to 'qbe.c')
-rw-r--r-- | qbe.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |