bytecodealliance / regalloc2

A new register allocator
Apache License 2.0
218 stars 39 forks source link

Fix bit packing of bundle params #192

Closed elliottt closed 2 months ago

elliottt commented 2 months 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