diff --git a/amd64/isel.c b/amd64/isel.c index b94392e..2b92878 100644 --- a/amd64/isel.c +++ b/amd64/isel.c @@ -754,7 +754,7 @@ amatch(Addr *a, Num *tn, Ref r, Fn *fn) if (!req(rs, R)) { assert(rtype(rs) == RCon); c = &fn->con[rs.val]; - assert(c->type = CBits); + assert(c->type == CBits); s = c->bits.i; } ri = adisp(&co, tn, ri, fn, s);