diff src/compiler.sml @ 515:4929cf86bc03

Stop using redundant Defunc pass
author Adam Chlipala <adamc@hcoop.net>
date Thu, 27 Nov 2008 10:46:45 -0500
parents 65d8541c130b
children 1901db85acb4
line wrap: on
line diff
--- a/src/compiler.sml	Thu Nov 27 10:40:29 2008 -0500
+++ b/src/compiler.sml	Thu Nov 27 10:46:45 2008 -0500
@@ -446,22 +446,12 @@
 
 val toShake1 = transform shake "shake1" o toCore_untangle
 
-val defunc = {
-    func = Defunc.defunc,
-    print = CorePrint.p_file CoreEnv.empty
-}
-
-val toDefunc = transform defunc "defunc" o toShake1
-
-val toCore_untangle' = transform core_untangle "core_untangle'" o toDefunc
-val toShake1' = transform shake "shake1'" o toCore_untangle'
-
 val tag = {
     func = Tag.tag,
     print = CorePrint.p_file CoreEnv.empty
 }
 
-val toTag = transform tag "tag" o toShake1'
+val toTag = transform tag "tag" o toShake1
 
 val reduce = {
     func = Reduce.reduce,