comparison src/main.mlton.sml @ 2299:47d5c94aeeb8

Add consolidation heuristic options.
author Ziv Scully <ziv@mit.edu>
date Thu, 19 Nov 2015 17:29:47 -0500
parents 639e62ca2530
children 8d772fbf59c1
comparison
equal deleted inserted replaced
2298:6e580e319077 2299:47d5c94aeeb8
159 | "-iflow" :: rest => 159 | "-iflow" :: rest =>
160 (Compiler.doIflow := true; 160 (Compiler.doIflow := true;
161 doArgs rest) 161 doArgs rest)
162 | "-sqlcache" :: rest => 162 | "-sqlcache" :: rest =>
163 (Settings.setSqlcache true; 163 (Settings.setSqlcache true;
164 doArgs rest)
165 | "-heuristic" :: h :: rest =>
166 (Settings.setSqlcacheHeuristic h;
164 doArgs rest) 167 doArgs rest)
165 | "-moduleOf" :: fname :: _ => 168 | "-moduleOf" :: fname :: _ =>
166 (print (Compiler.moduleOf fname ^ "\n"); 169 (print (Compiler.moduleOf fname ^ "\n");
167 raise Code OS.Process.success) 170 raise Code OS.Process.success)
168 | "-noEmacs" :: rest => 171 | "-noEmacs" :: rest =>