diff options
author | andy@galois.com <unknown> | 2006-11-29 22:09:57 +0000 |
---|---|---|
committer | andy@galois.com <unknown> | 2006-11-29 22:09:57 +0000 |
commit | 8100cd4395e46ae747be4298c181a4730d6206bc (patch) | |
tree | f9f3d4790bcb3fd466888f27fb1ccbea2690e507 /compiler/simplCore/FloatIn.lhs | |
parent | 859001105a5cbb15959f04519911da86e597f2e1 (diff) | |
download | haskell-8100cd4395e46ae747be4298c181a4730d6206bc.tar.gz |
TickBox representation change
This changes the internal representation of TickBoxes,
from
Note (TickBox "module" n) <expr>
into
case tick<module,n> of
_ -> <expr>
tick has type :: #State #World, when the module and tick numbe
are stored inside IdInfo.
Binary tick boxes change from
Note (BinaryTickBox "module" t f) <expr>
into
btick<module,t,f> <expr>
btick has type :: Bool -> Bool, with the module and tick number
stored inside IdInfo.
Diffstat (limited to 'compiler/simplCore/FloatIn.lhs')
-rw-r--r-- | compiler/simplCore/FloatIn.lhs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/compiler/simplCore/FloatIn.lhs b/compiler/simplCore/FloatIn.lhs index b80a8e0b2a..e32a8ea160 100644 --- a/compiler/simplCore/FloatIn.lhs +++ b/compiler/simplCore/FloatIn.lhs @@ -214,13 +214,6 @@ fiExpr to_drop (_, AnnNote InlineMe expr) = -- Ditto... don't float anything into an INLINE expression mkCoLets' to_drop (Note InlineMe (fiExpr [] expr)) -fiExpr to_drop (_, AnnNote note@(TickBox {}) expr) - = -- Wimp out for now - mkCoLets' to_drop (Note note (fiExpr [] expr)) -fiExpr to_drop (_, AnnNote note@(BinaryTickBox {}) expr) - = -- Wimp out for now - mkCoLets' to_drop (Note note (fiExpr [] expr)) - fiExpr to_drop (_, AnnNote note@(CoreNote _) expr) = Note note (fiExpr to_drop expr) \end{code} |