X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2FabsCSyn%2FCLabel.lhs;h=f35342ca4b6cc9bbd50fd0d6979fd99c5bd85342;hb=dabfa71f33eabc5a2d10959728f772aa016f1c84;hp=74d214424385e81e87303b2cbe778ae49fd77199;hpb=68afb16743cafd5b7495771d359891c6dfc5a186;p=ghc-hetmet.git diff --git a/ghc/compiler/absCSyn/CLabel.lhs b/ghc/compiler/absCSyn/CLabel.lhs index 74d2144..f35342c 100644 --- a/ghc/compiler/absCSyn/CLabel.lhs +++ b/ghc/compiler/absCSyn/CLabel.lhs @@ -43,10 +43,6 @@ module CLabel ( #if ! OMIT_NATIVE_CODEGEN , pprCLabel_asm #endif - -#ifdef GRAN - , isSlowEntryCCodeBlock -#endif ) where import Ubiq{-uitous-} @@ -299,20 +295,10 @@ externallyVisibleCLabel (IdLabel (CLabelId id) _) is_SuperDictSelId id = maybeToBool (isSuperDictSelId_maybe id) \end{code} -These GRAN functions are needed for spitting out GRAN_FETCH() at the +OLD?: These GRAN functions are needed for spitting out GRAN_FETCH() at the right places. It is used to detect when the abstractC statement of an CCodeBlock actually contains the code for a slow entry point. -- HWL -\begin{code} -#ifdef GRAN - -isSlowEntryCCodeBlock :: CLabel -> Bool -isSlowEntryCCodeBlock _ = False --- Worth keeping? ToDo (WDP) - -#endif {-GRAN-} -\end{code} - We need at least @Eq@ for @CLabels@, because we want to avoid duplicate declarations in generating C (see @labelSeenTE@ in @PprAbsC@).