projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ 1996-04-30 17:34:02 by partain]
[ghc-hetmet.git]
/
ghc
/
compiler
/
simplCore
/
OccurAnal.lhs
diff --git
a/ghc/compiler/simplCore/OccurAnal.lhs
b/ghc/compiler/simplCore/OccurAnal.lhs
index
0574b41
..
c6567da
100644
(file)
--- a/
ghc/compiler/simplCore/OccurAnal.lhs
+++ b/
ghc/compiler/simplCore/OccurAnal.lhs
@@
-387,6
+387,11
@@
occAnal env (SCC cc body)
where
(usage, body') = occAnal env body
+occAnal env (Coerce c ty body)
+ = (usage, Coerce c ty body')
+ where
+ (usage, body') = occAnal env body
+
occAnal env (App fun arg)
= (fun_usage `combineUsageDetails` arg_usage, App fun' arg)
where