diff options
author | 2011-08-15 11:26:10 -0400 | |
---|---|---|
committer | 2011-08-15 11:26:10 -0400 | |
commit | e472f946fc2316959e8480e2371233fd275b1da2 (patch) | |
tree | 58c04394c5e6d8876f349beceb1ef03ea01ab18a /src/main.mlton.sml | |
parent | da80f2aa1cd6326d0fc8621a5cfb0e7fd313e192 (diff) |
Compiler frees as much memory as possible before passing control to C compiler
Diffstat (limited to 'src/main.mlton.sml')
-rw-r--r-- | src/main.mlton.sml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.mlton.sml b/src/main.mlton.sml index debbce15..6f38efa8 100644 --- a/src/main.mlton.sml +++ b/src/main.mlton.sml @@ -32,6 +32,8 @@ val demo = ref (NONE : (string * bool) option) 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"); |