emitForeignCall: avoid CC warnings by hinting that resume/suspendThread id arg is a ptr
id <- newTemp wordRep
emitSaveThreadState
stmtC (CmmCall (CmmForeignCall suspendThread CCallConv)
- [(id,NoHint)]
+ [(id,PtrHint)]
[ (CmmReg (CmmGlobal BaseReg), PtrHint) ]
(Just vols)
)
-- 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