From 96364859cfd0d6143c10c158a74c254747e22745 Mon Sep 17 00:00:00 2001 From: simonmar Date: Wed, 27 Apr 2005 09:54:26 +0000 Subject: [PATCH] [project @ 2005-04-27 09:54:26 by simonmar] Fix the volatile regs to the suspendThread call --- ghc/compiler/codeGen/CgForeignCall.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc/compiler/codeGen/CgForeignCall.hs b/ghc/compiler/codeGen/CgForeignCall.hs index 6c7fc04..9897651 100644 --- 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) [] -- 1.7.10.4