summaryrefslogtreecommitdiff
path: root/ghc/compiler/codeGen
diff options
context:
space:
mode:
authorsimonmar <unknown>2005-04-07 12:39:56 +0000
committersimonmar <unknown>2005-04-07 12:39:56 +0000
commit886e3d665236fd3a81afa410aa96f8dc9fd6b6f1 (patch)
treef800d5916002729beea6cd0d049a76f38c136420 /ghc/compiler/codeGen
parentc73d0b413690188231f921f290603bad88d2c710 (diff)
downloadhaskell-886e3d665236fd3a81afa410aa96f8dc9fd6b6f1.tar.gz
[project @ 2005-04-07 12:39:56 by simonmar]
The arg to suspendThread should have a "ptr" hint
Diffstat (limited to 'ghc/compiler/codeGen')
-rw-r--r--ghc/compiler/codeGen/CgForeignCall.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc/compiler/codeGen/CgForeignCall.hs b/ghc/compiler/codeGen/CgForeignCall.hs
index 572a3876f5..6c7fc044b0 100644
--- a/ghc/compiler/codeGen/CgForeignCall.hs
+++ b/ghc/compiler/codeGen/CgForeignCall.hs
@@ -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)