summaryrefslogtreecommitdiff
path: root/src/compiler.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-09-11 09:36:47 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-09-11 09:36:47 -0400
commit7bc788c67ed9331773355ceeae4ace7923a6e914 (patch)
tree94beda93e06e4418c5d001aa317365a1d878efdb /src/compiler.sml
parent9e804908dd69043c8a9942cdf6042b8dc0d76175 (diff)
Unpoly non-recursive function
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 f408837d..aad6bdf3 100644
--- a/src/compiler.sml
+++ b/src/compiler.sml
@@ -405,12 +405,19 @@ val reduce = {
val toReduce = transform reduce "reduce" o toTag
+val unpoly = {
+ func = Unpoly.unpoly,
+ print = CorePrint.p_file CoreEnv.empty
+}
+
+val toUnpoly = transform unpoly "unpoly" o toReduce
+
val specialize = {
func = Specialize.specialize,
print = CorePrint.p_file CoreEnv.empty
}
-val toSpecialize = transform specialize "specialize" o toReduce
+val toSpecialize = transform specialize "specialize" o toUnpoly
val toShake2 = transform shake "shake2" o toSpecialize