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:
03d6342
)
[project @ 2005-04-27 09:54:26 by simonmar]
author
simonmar
<unknown>
Wed, 27 Apr 2005 09:54:26 +0000
(09:54 +0000)
committer
simonmar
<unknown>
Wed, 27 Apr 2005 09:54:26 +0000
(09:54 +0000)
Fix the volatile regs to the suspendThread call
ghc/compiler/codeGen/CgForeignCall.hs
patch
|
blob
|
history
diff --git
a/ghc/compiler/codeGen/CgForeignCall.hs
b/ghc/compiler/codeGen/CgForeignCall.hs
index
6c7fc04
..
9897651
100644
(file)
--- a/
ghc/compiler/codeGen/CgForeignCall.hs
+++ b/
ghc/compiler/codeGen/CgForeignCall.hs
@@
-80,7
+80,7
@@
emitForeignCall results (CCall (CCallSpec target cconv safety)) args live
emitSaveThreadState
stmtC (CmmCall (CmmForeignCall suspendThread CCallConv) [(id,NoHint)]
[ (CmmReg (CmmGlobal BaseReg), PtrHint) ]
- Nothing{-save all; ToDo-}
+ (Just vols)
)
stmtC (the_call vols)
stmtC (CmmCall (CmmForeignCall resumeThread CCallConv) []