bytecodealliance / regalloc2

A new register allocator
Apache License 2.0
217 stars 38 forks source link

Fix bit packing of bundle params #192

Closed elliottt closed 1 month ago

elliottt commented 1 month ago

Fix a fuzzbug introduced in #185 where we missed updating a mask after also updating a constant indicating that the bit was no longer used. This PR fixes the bug by using the appropriate constant when masking, and also removing some additional functions that were missed in #185.

co-authored-by: Chris Fallin chris@cfallin.org