RegAlloc: Track slot liveness over jumps in spill cleaner
[ghc-hetmet.git] / compiler / nativeGen / RegAlloc / Graph / SpillCost.hs
index 152d70b..0dc25f5 100644 (file)
@@ -78,7 +78,7 @@ slurpSpillCostInfo cmm
        -- lookup the regs that are live on entry to this block in
        --      the info table from the CmmProc
        countBlock info (BasicBlock blockId instrs)
-               | LiveInfo _ _ (Just blockLive) <- info
+               | LiveInfo _ _ (Just blockLive) _ <- info
                , Just rsLiveEntry  <- lookupBlockEnv blockLive blockId
                , rsLiveEntry_virt  <- takeVirtuals rsLiveEntry
                = countLIs rsLiveEntry_virt instrs