mirror of
https://github.com/rust-lang/rust
synced 2024-10-14 12:33:57 +00:00
Hey, what's a coding sprint without an uncovered register allocation bug? No fun, I say.
This commit is contained in:
parent
c5a3c9736a
commit
cf19c5132a
|
@ -434,7 +434,8 @@ let reg_alloc
|
||||||
then
|
then
|
||||||
begin
|
begin
|
||||||
Hashtbl.remove dirty_vregs vreg;
|
Hashtbl.remove dirty_vregs vreg;
|
||||||
if (Bits.get (live_out_vregs.(i)) vreg)
|
if (Bits.get (live_out_vregs.(i)) vreg) ||
|
||||||
|
(Bits.get (live_in_vregs.(i)) vreg)
|
||||||
then
|
then
|
||||||
let spill_idx =
|
let spill_idx =
|
||||||
if Hashtbl.mem vreg_to_spill vreg
|
if Hashtbl.mem vreg_to_spill vreg
|
||||||
|
|
Loading…
Reference in a new issue