From f67bf3b9d717c2407896c995a6fc11759ddc8038 Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Mon, 15 Feb 2021 11:44:10 -0500 Subject: CorePrep: Remove tracing introduced in keepAlive# patch These traces have served their purpose. Remove them. --- compiler/GHC/CoreToStg/Prep.hs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/compiler/GHC/CoreToStg/Prep.hs b/compiler/GHC/CoreToStg/Prep.hs index 01934423ed..7c17bad4ad 100644 --- a/compiler/GHC/CoreToStg/Prep.hs +++ b/compiler/GHC/CoreToStg/Prep.hs @@ -806,9 +806,8 @@ cpeApp top_env expr : CpeApp arg : CpeApp s0 : CpeApp k - : rest <- pprTrace "cpe_app keepAlive#" (ppr args) args - = do { pprTraceM "cpe_app(keepAlive#)" (ppr n) - ; y <- newVar result_ty + : rest <- args + = do { y <- newVar result_ty ; s2 <- newVar realWorldStatePrimTy ; -- beta reduce if possible ; (floats, k') <- case k of @@ -818,7 +817,6 @@ cpeApp top_env expr expr = Case k' y result_ty [Alt DEFAULT [] rhs] rhs = let scrut = mkApps (Var touchId) [Type arg_rep, Type arg_ty, arg, Var realWorldPrimId] in Case scrut s2 result_ty [Alt DEFAULT [] (Var y)] - ; pprTraceM "cpe_app(keepAlive)" (ppr expr) ; (floats', expr') <- cpeBody env expr ; return (floats `appendFloats` floats', expr') } -- cgit v1.2.1