mirror of
git://c9x.me/qbe.git
synced 2026-04-05 18:09:47 +00:00
fix unintended assignment
This commit is contained in:
parent
ddf5ced4a7
commit
b5be429091
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user