projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changing Main.tix to <prog_name>.tix in the Hpc RTS
[ghc-hetmet.git]
/
compiler
/
simplCore
/
Simplify.lhs
diff --git
a/compiler/simplCore/Simplify.lhs
b/compiler/simplCore/Simplify.lhs
index
bec02e6
..
b3e6bf7
100644
(file)
--- a/
compiler/simplCore/Simplify.lhs
+++ b/
compiler/simplCore/Simplify.lhs
@@
-911,6
+911,14
@@
simplNote env InlineMe e cont
simplNote env (CoreNote s) e cont
= simplExpr env e `thenSmpl` \ e' ->
rebuild env (Note (CoreNote s) e') cont
simplNote env (CoreNote s) e cont
= simplExpr env e `thenSmpl` \ e' ->
rebuild env (Note (CoreNote s) e') cont
+
+simplNote env note@(TickBox {}) e cont
+ = simplExpr env e `thenSmpl` \ e' ->
+ rebuild env (Note note e') cont
+
+simplNote env note@(BinaryTickBox {}) e cont
+ = simplExpr env e `thenSmpl` \ e' ->
+ rebuild env (Note note e') cont
\end{code}
\end{code}
@@
-1014,7
+1022,7
@@
completeCall env var cont
(if dopt Opt_D_dump_inlinings dflags then
pprTrace "Inlining done" (vcat [
text "Before:" <+> ppr var <+> sep (map pprParendExpr args),
(if dopt Opt_D_dump_inlinings dflags then
pprTrace "Inlining done" (vcat [
text "Before:" <+> ppr var <+> sep (map pprParendExpr args),
- text "Inlined fn: " <+> ppr unfolding,
+ text "Inlined fn: " $$ nest 2 (ppr unfolding),
text "Cont: " <+> ppr call_cont])
else
id) $
text "Cont: " <+> ppr call_cont])
else
id) $