diff src/mono_opt.sml @ 910:8e540df3294d

grid1 compiles but gets stuck in JS
author Adam Chlipala <adamc@hcoop.net>
date Tue, 25 Aug 2009 13:57:56 -0400
parents 7a4b026e45dd
children 552c989c1601
line wrap: on
line diff
--- a/src/mono_opt.sml	Sat Aug 22 16:32:31 2009 -0400
+++ b/src/mono_opt.sml	Tue Aug 25 13:57:56 2009 -0400
@@ -30,8 +30,6 @@
 open Mono
 structure U = MonoUtil
 
-val removeServerCalls = ref false
-
 fun typ t = t
 fun decl d = d
 
@@ -482,12 +480,6 @@
                    | [] => raise Fail "MonoOpt impossible nil")
               | NONE => e
         end
-
-      | EServerCall (_, _, _, _, ue) =>
-        if !removeServerCalls then
-            optExp ue
-        else
-            e
         
       | _ => e