From: simonmar Date: Thu, 7 Apr 2005 12:39:56 +0000 (+0000) Subject: [project @ 2005-04-07 12:39:56 by simonmar] X-Git-Tag: Initial_conversion_from_CVS_complete~784 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=886e3d665236fd3a81afa410aa96f8dc9fd6b6f1;p=ghc-hetmet.git [project @ 2005-04-07 12:39:56 by simonmar] The arg to suspendThread should have a "ptr" hint --- diff --git a/ghc/compiler/codeGen/CgForeignCall.hs b/ghc/compiler/codeGen/CgForeignCall.hs index 572a387..6c7fc04 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)