X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2FcodeGen%2FCgHpc.hs;h=3d300eda53d2279bc8b2f2f79f74049dfc758763;hb=83d563cb9ede0ba792836e529b1e2929db926355;hp=9ae576944b31948bc57b29d748a7526a2805ebc5;hpb=bae0a5fde7f43b2d4558b56b1f63bf0cbf5563b7;p=ghc-hetmet.git diff --git a/compiler/codeGen/CgHpc.hs b/compiler/codeGen/CgHpc.hs index 9ae5769..3d300ed 100644 --- a/compiler/codeGen/CgHpc.hs +++ b/compiler/codeGen/CgHpc.hs @@ -20,8 +20,9 @@ import ClosureInfo import FastString import HscTypes import Panic -import Char +import BasicTypes +import Data.Char import Data.Word cgTickBox :: Module -> Int -> Code @@ -66,7 +67,7 @@ initHpc this_mod (HpcInfo tickCount hashNo) PlayRisky [CmmHinted id NoHint] (CmmCallee - (CmmLit $ CmmLabel $ mkForeignLabel mod_alloc Nothing False) + (CmmLit $ CmmLabel $ mkForeignLabel mod_alloc Nothing ForeignLabelInThisPackage IsFunction) CCallConv ) [ CmmHinted (mkLblExpr mkHpcModuleNameLabel) AddrHint