projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c73d0b4
)
[project @ 2005-04-07 12:39:56 by simonmar]
author
simonmar
<unknown>
Thu, 7 Apr 2005 12:39:56 +0000
(12:39 +0000)
committer
simonmar
<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
patch
|
blob
|
history
diff --git
a/ghc/compiler/codeGen/CgForeignCall.hs
b/ghc/compiler/codeGen/CgForeignCall.hs
index
572a387
..
6c7fc04
100644
(file)
--- 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)