diff options
| author | Quentin Carbonneaux <[email protected]> | 2024-06-16 22:31:38 +0200 |
|---|---|---|
| committer | Quentin Carbonneaux <[email protected]> | 2024-06-16 22:31:38 +0200 |
| commit | b5be429091ecc26a5f4f6df777aa99655f868f2a (patch) | |
| tree | 518674d4401d5d51b722134adf90d05f50db9e54 /amd64 | |
| parent | ddf5ced4a7eb10629d180c09c631812fa568d917 (diff) | |
fix unintended assignment
Diffstat (limited to 'amd64')
| -rw-r--r-- | amd64/isel.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
