diff --git a/compiler/basicTypes/OccName.hs b/compiler/basicTypes/OccName.hs index 3ea3aa41059acc884e6dc8b999de8b2f99ee736f..c3f0c9ffcbaee2d34936f8ce46de975987f2968d 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)