Mercurial > urweb
diff src/main.mlton.sml @ 1540:659a2f71f5e5
Compiler frees as much memory as possible before passing control to C compiler
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Mon, 15 Aug 2011 11:26:10 -0400 |
parents | 7efcf8f4a44a |
children | 3cfc79f92db7 |
line wrap: on
line diff
--- a/src/main.mlton.sml Mon Aug 15 10:22:09 2011 -0400 +++ b/src/main.mlton.sml Mon Aug 15 11:26:10 2011 -0400 @@ -32,6 +32,8 @@ val tutorial = ref false val css = ref false +val () = Compiler.beforeC := MLton.GC.pack + fun printVersion () = (print (Config.versionString ^ "\n"); OS.Process.exit OS.Process.success) fun printNumericVersion () = (print (Config.versionNumber ^ "\n");