ajhc-0.8.0.6: Haskell compiler that produce binary through C language

Safe HaskellNone

Grin.Optimize

Synopsis

Documentation

grinPush :: Stats -> Lam -> IO LamSource

grinPush pushes the definitions of variables as far inward as they can go so peephole optimizations have a better chance of firing. when the order of definitons doesn't matter, it uses heuristics to decide which one to push to allow the most peephole optimizations.