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