import RegAlloc.Linear.FreeRegs
import RegAlloc.Linear.Stats
import RegAlloc.Linear.JoinToTargets
+import RegAlloc.Liveness
import BlockId
-import MachRegs
-import MachInstrs
+import Regs
+import Instrs
import RegAllocInfo
-import RegLiveness
import Cmm hiding (RegSet)
import Digraph
-> BlockId -- ^ id of the current block, for debugging.
-> [LiveInstr] -- ^ liveness annotated instructions in this block.
- -> RegM ( [Instr] -- ^ instructions after register allocation
- , [NatBasicBlock]) -- ^ fresh blocks of fixup code.
+ -> RegM ( [Instr] -- instructions after register allocation
+ , [NatBasicBlock]) -- fresh blocks of fixup code.
linearRA _ accInstr accFixup _ []
(uniqSetToList $ liveDieWrite live)
-raInsn _ _ id instr
+raInsn _ _ _ instr
= pprPanic "raInsn" (text "no match for:" <> ppr instr)