Fix the build on amd64/Linux
[ghc-hetmet.git] / compiler / codeGen / StgCmmForeign.hs
index a4b5cf9..b8a7255 100644 (file)
@@ -37,6 +37,7 @@ import StaticFlags
 import Maybes
 import Outputable
 import ZipCfgCmmRep
+import BasicTypes
 
 import Control.Monad
 
@@ -58,7 +59,7 @@ cgForeignCall results result_hints (CCall (CCallSpec target cconv safety)) stg_a
              (call_args, cmm_target)
                = case target of
                   StaticTarget lbl -> (args, CmmLit (CmmLabel 
-                                               (mkForeignLabel lbl (call_size args) False)))
+                                               (mkForeignLabel lbl (call_size args) False IsFunction)))
                   DynamicTarget    ->  case args of
                                         fn:rest -> (rest, fn)
                                         [] -> panic "cgForeignCall []"