[project @ 2005-04-07 12:39:56 by simonmar]
authorsimonmar <unknown>
Thu, 7 Apr 2005 12:39:56 +0000 (12:39 +0000)
committersimonmar <unknown>
Thu, 7 Apr 2005 12:39:56 +0000 (12:39 +0000)
The arg to suspendThread should have a "ptr" hint

ghc/compiler/codeGen/CgForeignCall.hs

index 572a387..6c7fc04 100644 (file)
@@ -79,7 +79,7 @@ emitForeignCall results (CCall (CCallSpec target cconv safety)) args live
     id <- newTemp wordRep
     emitSaveThreadState
     stmtC (CmmCall (CmmForeignCall suspendThread CCallConv) [(id,NoHint)]
-                       [ (CmmReg (CmmGlobal BaseReg), NoHint) ] 
+                       [ (CmmReg (CmmGlobal BaseReg), PtrHint) ] 
                        Nothing{-save all; ToDo-}
                        )
     stmtC (the_call vols)