X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fcmm%2FCmmCPSGen.hs;h=86eebfb0af2da1acf18ac15696d116133250d4a4;hb=78bbce57e04a29541b7343f0b188a20cef956187;hp=55a7397a689cb2b321df98d37cb736d1b5b2beba;hpb=d76b6a05ab36066e8aeb67d58e25992d1ef83a8a;p=ghc-hetmet.git diff --git a/compiler/cmm/CmmCPSGen.hs b/compiler/cmm/CmmCPSGen.hs index 55a7397..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 @@ -33,6 +31,7 @@ import StaticFlags import Unique import Maybe import List +import FastString import Panic @@ -264,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.