@@ -1,22 +1,4 @@
1−-- | This module optimizes code in the simplified-Objective-C intermediate representation.
1+-- | This module optimizes code in the intermediate representation.
3−-- The following optimizations are supported:
5−-- * Collapsing nested blocks
7−-- * Tail call elimination
9−-- * Inlining of (>>=) and ret for the Eff monad
11−-- * Removal of unnecessary thunks
15−-- * Inlining variables
17−-- * Inline Prelude.($), Prelude.(#), Prelude.(++), Prelude.(!!)
19−-- * Inlining primitive Objective-C operators
20module CodeGen.Cpp.Optimizer (optimize) where
2module CodeGen.Cpp.Optimizer (optimize) where
22import Prelude.Compat
4import Prelude.Compat