X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2FcodeGen%2FStgCmmForeign.hs;h=bda9e0fe1be85f1215376ee144c50d9dec27aaf2;hb=172b85497dc0da68176fa90c993abd9bcdc6b96f;hp=89a2b27833414db538f89f96fe86b3e4fdc5d89d;hpb=787b08bdea84cca4bf9490d87c059453bffc5ad2;p=ghc-hetmet.git diff --git a/compiler/codeGen/StgCmmForeign.hs b/compiler/codeGen/StgCmmForeign.hs index 89a2b27..bda9e0f 100644 --- a/compiler/codeGen/StgCmmForeign.hs +++ b/compiler/codeGen/StgCmmForeign.hs @@ -59,7 +59,7 @@ cgForeignCall results result_hints (CCall (CCallSpec target cconv safety)) stg_a StaticTarget lbl -> (unzip cmm_args, CmmLit (CmmLabel (mkForeignLabel lbl (call_size cmm_args) - False IsFunction))) + ForeignLabelInThisPackage IsFunction))) DynamicTarget -> case cmm_args of (fn,_):rest -> (unzip rest, fn) [] -> panic "cgForeignCall []"