X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=sidebyside;f=compiler%2Fcmm%2FCmmCPSGen.hs;h=86eebfb0af2da1acf18ac15696d116133250d4a4;hb=867426b744fd4bb73f518924cb2cc051b0c55d5a;hp=0d409aba7096e119f30a82f55a0b365a45d4836a;hpb=c3496d97a8edd3e252072b9c3702fd9121e623ae;p=ghc-hetmet.git diff --git a/compiler/cmm/CmmCPSGen.hs b/compiler/cmm/CmmCPSGen.hs index 0d409ab..86eebfb 100644 --- a/compiler/cmm/CmmCPSGen.hs +++ b/compiler/cmm/CmmCPSGen.hs @@ -13,8 +13,6 @@ module CmmCPSGen ( ContinuationFormat(..), ) where -#include "HsVersions.h" - import Cmm import CLabel import CmmBrokenBlock -- Data types only @@ -265,8 +263,8 @@ foreignCall uniques call results arguments = -- ----------------------------------------------------------------------------- -- Save/restore the thread state in the TSO -suspendThread = CmmLit (CmmLabel (mkRtsCodeLabel SLIT("suspendThread"))) -resumeThread = CmmLit (CmmLabel (mkRtsCodeLabel SLIT("resumeThread"))) +suspendThread = CmmLit (CmmLabel (mkRtsCodeLabel (sLit "suspendThread"))) +resumeThread = CmmLit (CmmLabel (mkRtsCodeLabel (sLit "resumeThread"))) -- This stuff can't be done in suspendThread/resumeThread, because it -- refers to global registers which aren't available in the C world.