Skip to content
This repository was archived by the owner on Nov 1, 2018. It is now read-only.

Commit b84bf35

Browse files
committed
cleanup of debug messages
1 parent 3700860 commit b84bf35

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

EHC/src/ehc/EHC/CompilePhase/Module.chs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ cpGetCoreModnameAndImports modNm
126126
mbCrSemMod = _ecuMbCoreSemMod ecu
127127
crSemMod = panicJust "cpGetCoreModnameAndImports" mbCrSemMod
128128
modNm' = Core2ChkSem.realModuleNm_Syn_CodeAGItf crSemMod
129-
; cpMsg modNm VerboseDebug $ "cpGetCoreModnameAndImports: " ++ show modNm ++ " -> " ++ show modNm'
129+
; cpMsg modNm VerboseALot $ "cpGetCoreModnameAndImports: " ++ show modNm ++ " -> " ++ show modNm'
130130
; case mbCrSemMod of
131131
Just _ -> cpUpdCUWithKey modNm $ \_ ecu ->
132132
( modNm'

EHC/src/ehc/EHC/CompilePhase/TopLevelPhases.chs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1127,7 +1127,7 @@ cpEhcCorePerModulePart2 modNm
11271127
%%][50
11281128
earlyMerge = ehcOptOptimizationScope opts >= OptimizationScope_WholeCore
11291129
%%]]
1130-
; cpMsg modNm VerboseDebug $ "cpEhcCorePerModulePart2"
1130+
; cpMsg modNm VerboseALot $ "cpEhcCorePerModulePart2"
11311131
; cpSeq [ when earlyMerge $ cpProcessCoreRest modNm
11321132
%%[[(8 grin)
11331133
, when (ehcOptIsViaGrin opts) (cpProcessGrin modNm)
@@ -1148,7 +1148,7 @@ cpEhcCoreGrinPerModuleDoneNoFullProgAnalysis :: EHCCompileRunner m => EHCOpts ->
11481148
cpEhcCoreGrinPerModuleDoneNoFullProgAnalysis opts isMainMod isTopMod doMkExec modNm
11491149
= cpSeq ( [ cpEhcCorePerModulePart2 modNm
11501150
%%[[50
1151-
, cpMsg modNm VerboseDebug "cpFlowOptim"
1151+
, cpMsg modNm VerboseALot "cpFlowOptim"
11521152
, cpFlowOptim modNm
11531153
%%]]
11541154
%%[[(99 grin)

EHC/src/ehc/EHC/CompilePhase/TransformGrin.chs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ cpFromGrinTrf modNm trf m
6969
cpTransformGrin :: forall m . EHCCompileRunner m => HsName -> EHCompilePhaseT m ()
7070
cpTransformGrin modNm
7171
= do { cr <- get
72-
; cpMsg modNm VerboseDebug "cpTransformGrin"
72+
; cpMsg modNm VerboseALot "cpTransformGrin"
7373
; let (ecu,_,opts,_) = crBaseInfo modNm cr
7474
forBytecode = targetIsGrinBytecode (ehcOptTarget opts)
7575
forBytecodeOrSimilar = not doesHPT -- targetIsGrinBytecode (ehcOptTarget opts)

EHC/src/ehc/EHC/CompilePhase/Translations.chs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ cpTranslateCore2Grin modNm
205205
mbCoreSem = _ecuMbCoreSem ecu
206206
coreSem = panicJust "cpTranslateCore2Grin" mbCoreSem
207207
grin = Core2GrSem.grMod_Syn_CodeAGItf coreSem
208-
; cpMsg modNm VerboseDebug $ "cpTranslateCore2Grin, has coresem " ++ show (isJust mbCoreSem) ++ ", via grin " ++ show (ehcOptIsViaGrin opts)
208+
; cpMsg modNm VerboseALot $ "cpTranslateCore2Grin, has coresem " ++ show (isJust mbCoreSem) ++ ", via grin " ++ show (ehcOptIsViaGrin opts)
209209
; when (isJust mbCoreSem && ehcOptIsViaGrin opts)
210210
(cpUpdCU modNm $! ecuStoreGrin $! grin)
211211
}
@@ -326,10 +326,9 @@ cpTranslateGrin2Bytecode modNm
326326
(liftIO $ putStrLn ("expNmFldMp: " ++ show expNmFldMp))
327327
%%]]
328328

329-
; cpMsg modNm VerboseDebug $ "cpTranslateGrin2Bytecode: store bytecode, has grin " ++ show (isJust mbGrin)
329+
; cpMsg modNm VerboseALot $ "cpTranslateGrin2Bytecode: store bytecode, has grin " ++ show (isJust mbGrin)
330330
; when (isJust mbGrin)
331331
(cpUpdCU modNm $! ecuStoreBytecode bc)
332-
; cpMsg modNm VerboseDebug ("cpTranslateGrin2Bytecode: stored bytecode")
333332
; when (ehcOptErrAboutBytecode opts)
334333
(cpSetLimitErrsWhen 5 "Grin to ByteCode" errs)
335334
}

0 commit comments

Comments
 (0)