summaryrefslogtreecommitdiff
path: root/src/compiler.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-11-01 21:24:43 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-11-01 21:24:43 -0400
commit24483b49c81a6ac1c99cd28ca3505150b5999863 (patch)
tree6b3d3ae7cea264af30aad9fd8966746ff21efaf1 /src/compiler.sml
parent047a2f193646e08db526768dca8376b7270eecb5 (diff)
Nested save compiles
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 e92f86c3..1124bfda 100644
--- a/src/compiler.sml
+++ b/src/compiler.sml
@@ -418,12 +418,19 @@ val especialize = {
val toEspecialize = transform especialize "especialize" o toCorify
+val core_untangle = {
+ func = CoreUntangle.untangle,
+ print = CorePrint.p_file CoreEnv.empty
+}
+
+val toCore_untangle = transform core_untangle "core_untangle" o toEspecialize
+
val shake = {
func = Shake.shake,
print = CorePrint.p_file CoreEnv.empty
}
-val toShake1 = transform shake "shake1" o toEspecialize
+val toShake1 = transform shake "shake1" o toCore_untangle
val tag = {
func = Tag.tag,