[commit: ghc] master: compiler: kill a stray pprTrace in OccName (4d6c0ee)
git at git.haskell.org
git at git.haskell.org
Sat May 23 20:08:15 UTC 2015
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/4d6c0ee11ff2c439fcd06677d55c57b8644ed7a7/ghc
>---------------------------------------------------------------
commit 4d6c0ee11ff2c439fcd06677d55c57b8644ed7a7
Author: Austin Seipp <austin at well-typed.com>
Date: Sat May 23 07:26:55 2015 -0500
compiler: kill a stray pprTrace in OccName
Left in by c89bd681d34d, and otherwise rather annoying during the build!
Signed-off-by: Austin Seipp <austin at well-typed.com>
>---------------------------------------------------------------
4d6c0ee11ff2c439fcd06677d55c57b8644ed7a7
compiler/basicTypes/OccName.hs | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/compiler/basicTypes/OccName.hs b/compiler/basicTypes/OccName.hs
index 3ea3aa4..c3f0c9f 100644
--- a/compiler/basicTypes/OccName.hs
+++ b/compiler/basicTypes/OccName.hs
@@ -853,9 +853,7 @@ tidyOccName env occ@(OccName occ_sp fs)
-- 1, add 1, add 2, add 3, etc which
-- moves at quadratic speed through a dense patch
- Nothing -> (if k>5 then pprTrace "tidyOccName" (ppr k $$ ppr occ $$ ppr new_fs)
- else \x -> x)
- (new_env, OccName occ_sp new_fs)
+ Nothing -> (new_env, OccName occ_sp new_fs)
where
new_fs = mkFastString (base ++ show n)
new_env = addToUFM (addToUFM env new_fs 1) base1 (n+1)
More information about the ghc-commits
mailing list