diff src/iflow.sml @ 1360:02fc16faecf3

[De]serialization of times in JavaScript; proper integer division in JavaScript; Basis.crypt; Top.mkRead'; more aggressive Mono-level inlining, for values of function-y types
author Adam Chlipala <adam@chlipala.net>
date Thu, 23 Dec 2010 17:46:40 -0500
parents acabf3935060
children 0577be31a435
line wrap: on
line diff
--- a/src/iflow.sml	Thu Dec 23 11:23:31 2010 -0500
+++ b/src/iflow.sml	Thu Dec 23 17:46:40 2010 -0500
@@ -1965,7 +1965,7 @@
 
           | EAbs _ => default ()
           | EUnop (s, e1) => evalExp env e1 (fn e1 => k (Func (Other s, [e1])))
-          | EBinop (s, e1, e2) => evalExp env e1 (fn e1 => evalExp env e2 (fn e2 => k (Func (Other s, [e1, e2]))))
+          | EBinop (_, s, e1, e2) => evalExp env e1 (fn e1 => evalExp env e2 (fn e2 => k (Func (Other s, [e1, e2]))))
           | ERecord xets =>
             let
                 fun doFields (xes, acc) =
@@ -2352,7 +2352,7 @@
                             end
                           | EAbs (x, t1, t2, e) => (EAbs (x, t1, t2, doExp (Unknown :: env) e), loc)
                           | EUnop (uo, e1) => (EUnop (uo, doExp env e1), loc)
-                          | EBinop (bo, e1, e2) => (EBinop (bo, doExp env e1, doExp env e2), loc)
+                          | EBinop (bi, bo, e1, e2) => (EBinop (bi, bo, doExp env e1, doExp env e2), loc)
                           | ERecord xets => (ERecord (map (fn (x, e, t) => (x, doExp env e, t)) xets), loc)
                           | EField (e1, f) => (EField (doExp env e1, f), loc)
                           | ECase (e, pes, ts) =>