summaryrefslogtreecommitdiff
path: root/src/compiler.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2010-04-04 14:37:19 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2010-04-04 14:37:19 -0400
commiteb89ae4814a7cf17f76f5ab5d191349ba13bdef4 (patch)
tree92dc9593a0b4e0f22cbe699ae412b79ddf11570e /src/compiler.sml
parent6a326e3bb3eb16e04f3cca082f0dd67278e85785 (diff)
Generated basic dummy Iflow conditions
Diffstat (limited to 'src/compiler.sml')
-rw-r--r--src/compiler.sml9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/compiler.sml b/src/compiler.sml
index a2fcd346..bb55dfce 100644
--- a/src/compiler.sml
+++ b/src/compiler.sml
@@ -1071,12 +1071,19 @@ val toMono_shake = transform mono_shake "mono_shake1" o toMono_reduce
val toMono_opt2 = transform mono_opt "mono_opt2" o toMono_shake
+val iflow = {
+ func = (fn file => (Iflow.check file; file)),
+ print = MonoPrint.p_file MonoEnv.empty
+}
+
+val toIflow = transform iflow "iflow" o toMono_opt2
+
val jscomp = {
func = JsComp.process,
print = MonoPrint.p_file MonoEnv.empty
}
-val toJscomp = transform jscomp "jscomp" o toMono_opt2
+val toJscomp = transform jscomp "jscomp" o toIflow
val toMono_opt3 = transform mono_opt "mono_opt3" o toJscomp