Commit 8f94d42a authored by sof's avatar sof
Browse files

[project @ 2005-10-27 00:21:24 by sof]

emitForeignCall: avoid CC warnings by hinting that resume/suspendThread id arg is a ptr
parent b25ebcf6
......@@ -79,7 +79,7 @@ emitForeignCall results (CCall (CCallSpec target cconv safety)) args live
id <- newTemp wordRep
emitSaveThreadState
stmtC (CmmCall (CmmForeignCall suspendThread CCallConv)
[(id,NoHint)]
[(id,PtrHint)]
[ (CmmReg (CmmGlobal BaseReg), PtrHint) ]
(Just vols)
)
......@@ -90,7 +90,7 @@ emitForeignCall results (CCall (CCallSpec target cconv safety)) args live
-- a different Capability! Small optimisation:
-- only do this in SMP mode, where there are >1
-- Capabilities.
[ (CmmReg id, NoHint) ]
[ (CmmReg id, PtrHint) ]
(Just vols)
)
emitLoadThreadState
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment