summaryrefslogtreecommitdiff
path: root/src/compiler.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-03-28 11:13:36 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-03-28 11:13:36 -0400
commit00b2a86f9af8d57b6ba134cdd6b3a1ce72ea8a5f (patch)
treeefba87fb9b2c9f5f7349dbe277b4a928bc0a2e66 /src/compiler.sml
parent474fa30ad829b58eba6074e7ee14307418b07358 (diff)
Marshalcheck
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 f9200731..0eb8cb0f 100644
--- a/src/compiler.sml
+++ b/src/compiler.sml
@@ -475,12 +475,19 @@ val tag = {
val toTag = transform tag "tag" o toCore_untangle2
+val marshalcheck = {
+ func = (fn file => (MarshalCheck.check file; file)),
+ print = CorePrint.p_file CoreEnv.empty
+}
+
+val toMarshalcheck = transform marshalcheck "marshalcheck" o toTag
+
val reduce = {
func = Reduce.reduce,
print = CorePrint.p_file CoreEnv.empty
}
-val toReduce = transform reduce "reduce" o toTag
+val toReduce = transform reduce "reduce" o toMarshalcheck
val unpoly = {
func = Unpoly.unpoly,