Commit 84cf095d authored by Ben Gamari's avatar Ben Gamari Committed by Ben Gamari
Browse files

compiler: Eliminate pprTrace in SPT entry addition codepath

Test Plan: Load program with StaticPointers into GHCi, ensure no
tracing output makes it in.

Reviewers: austin

Subscribers: rwbarton, thomie, RyanGlScott

GHC Trac Issues: #12356

Differential Revision:
parent 34b7f63e
......@@ -1611,8 +1611,7 @@ hscAddSptEntries hsc_env entries = do
let add_spt_entry :: SptEntry -> IO ()
add_spt_entry (SptEntry i fpr) = do
val <- getHValue hsc_env (idName i)
pprTrace "add_spt_entry" (ppr fpr <+> ppr i) $
addSptEntry hsc_env fpr val
addSptEntry hsc_env fpr val
mapM_ add_spt_entry entries
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment