diff src/main.mlton.sml @ 2304:6fb9232ade99

Merge Sqlcache
author Adam Chlipala <adam@chlipala.net>
date Sun, 20 Dec 2015 14:18:52 -0500
parents fb113569519e 8d772fbf59c1
children
line wrap: on
line diff
--- a/src/main.mlton.sml	Sun Dec 20 13:41:35 2015 -0500
+++ b/src/main.mlton.sml	Sun Dec 20 14:18:52 2015 -0500
@@ -159,6 +159,12 @@
               | "-iflow" :: rest =>
                 (Compiler.doIflow := true;
                  doArgs rest)
+              | "-sqlcache" :: rest =>
+                (Settings.setSqlcache true;
+                 doArgs rest)
+              | "-heuristic" :: h :: rest =>
+                (Sqlcache.setHeuristic h;
+                 doArgs rest)
               | "-moduleOf" :: fname :: _ =>
                 (print (Compiler.moduleOf fname ^ "\n");
                  raise Code OS.Process.success)