Mercurial > urweb
diff src/compiler.sml @ 732:5819fb63c93a
Effectness analysis
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Thu, 16 Apr 2009 15:29:39 -0400 |
parents | 09df0c85f306 |
children | f2a2be93331c |
line wrap: on
line diff
--- a/src/compiler.sml Thu Apr 16 14:49:25 2009 -0400 +++ b/src/compiler.sml Thu Apr 16 15:29:39 2009 -0400 @@ -505,12 +505,19 @@ val toMarshalcheck = transform marshalcheck "marshalcheck" o toShake3 +val effectize = { + func = Effective.effectize, + print = CorePrint.p_file CoreEnv.empty +} + +val toEffectize = transform effectize "effectize" o toMarshalcheck + val monoize = { func = Monoize.monoize CoreEnv.empty, print = MonoPrint.p_file MonoEnv.empty } -val toMonoize = transform monoize "monoize" o toMarshalcheck +val toMonoize = transform monoize "monoize" o toEffectize val mono_opt = { func = MonoOpt.optimize,