projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
124690e
)
[project @ 2001-11-12 12:18:50 by simonpj]
author
simonpj
<unknown>
Mon, 12 Nov 2001 12:18:50 +0000
(12:18 +0000)
committer
simonpj
<unknown>
Mon, 12 Nov 2001 12:18:50 +0000
(12:18 +0000)
Remove pprTrace
ghc/compiler/types/InstEnv.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/types/InstEnv.lhs
b/ghc/compiler/types/InstEnv.lhs
index
e44d6f6
..
d7fac2e
100644
(file)
--- a/
ghc/compiler/types/InstEnv.lhs
+++ b/
ghc/compiler/types/InstEnv.lhs
@@
-286,11
+286,6
@@
lookupInstEnv env key_cls key_tys
Nothing -> find rest
Just _ -> NoMatch (any_match rest)
Just (subst, leftovers) -> ASSERT( null leftovers )
-#ifdef DEBUG
- pprTrace "lookupInst" (vcat [text "look:" <+> ppr key_cls <+> ppr key_tys,
- text "found:" <+> ppr dfun_id,
- text "env:" <+> ppr (classInstEnv env key_cls)]) $
-#endif
FoundInst subst dfun_id
any_match rest = or [ maybeToBool (matchTys tvs tpl key_tys)