X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=utils%2Fhpc%2FHpcReport.hs;h=98e418172b64eb56792a448a2f7444384276fb8a;hb=b84b5969798530dbf5be9b8bb795b77e5dfbf042;hp=77d66bd9cd8af9a43bee1f9b31985dc5d579c290;hpb=5f4e77a5a2ea03286b795da4051272ac7c774bd7;p=ghc-hetmet.git diff --git a/utils/hpc/HpcReport.hs b/utils/hpc/HpcReport.hs index 77d66bd..98e4181 100644 --- a/utils/hpc/HpcReport.hs +++ b/utils/hpc/HpcReport.hs @@ -152,7 +152,7 @@ single (BinBox {}) = False modInfo :: Flags -> Bool -> TixModule -> IO ModInfo modInfo hpcflags qualDecList tix@(TixModule moduleName _ _ tickCounts) = do - Mix _ _ _ _ mes <- readMixWithFlags hpcflags tix + Mix _ _ _ _ mes <- readMixWithFlags hpcflags (Right tix) return (q (accumCounts (zip (map snd mes) tickCounts) miZero)) where q mi = if qualDecList then mi{decPaths = map (moduleName:) (decPaths mi)}