cproc

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/cproc
Log | Files | Refs | Submodules | README | LICENSE

commit fc2681639fb9c989d75c8e3d5b07437070a8ecad
parent 7e5d1aca647f13c0ae3a7cb0d4aff602e6bf7bea
Author: Andrew Chambers <andrewchambers@fastmail.com>
Date:   Fri, 15 Feb 2019 12:25:22 +1300

Fix bad assertion.

Diffstat:
Mqbe.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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; }