X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=ghc%2Fcompiler%2FnativeGen%2FAbsCStixGen.lhs;h=830e450dfcf3059230d866b01a34cccdffe40462;hp=90863433d388361818aa0ac5ebe4b6d7665f1f74;hb=e7498a3ee1d0484d02a9e86633cc179c76ebf36e;hpb=30cf375e0bc79a6b71074a5e0fd2ec393241a751 diff --git a/ghc/compiler/nativeGen/AbsCStixGen.lhs b/ghc/compiler/nativeGen/AbsCStixGen.lhs index 9086343..830e450 100644 --- a/ghc/compiler/nativeGen/AbsCStixGen.lhs +++ b/ghc/compiler/nativeGen/AbsCStixGen.lhs @@ -7,7 +7,7 @@ module AbsCStixGen ( genCodeAbstractC ) where -import Ubiq{-uitous-} +IMP_Ubiq(){-uitous-} import AbsCSyn import Stix @@ -33,6 +33,10 @@ import StixMacro ( macroCode ) import StixPrim ( primCode, amodeToStix, amodeToStix' ) import UniqSupply ( returnUs, thenUs, mapUs, getUnique, UniqSM(..) ) import Util ( naturalMergeSortLe, panic ) + +#ifdef REALLY_HASKELL_1_3 +ord = fromEnum :: Char -> Int +#endif \end{code} For each independent chunk of AbstractC code, we generate a list of