Mercurial > urweb
diff src/cloconv.sml @ 51:92361a008a10
FFI through monoize
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sun, 22 Jun 2008 10:12:23 -0400 |
parents | 537db4ee89f4 |
children | 198172560b73 |
line wrap: on
line diff
--- a/src/cloconv.sml Sun Jun 22 10:06:50 2008 -0400 +++ b/src/cloconv.sml Sun Jun 22 10:12:23 2008 -0400 @@ -69,6 +69,7 @@ L.TFun (t1, t2) => (L'.TFun (ccTyp t1, ccTyp t2), loc) | L.TRecord xts => (L'.TRecord (map (fn (x, t) => (x, ccTyp t)) xts), loc) | L.TNamed n => (L'.TNamed n, loc) + | L.TFfi _ => raise Fail "Cloconv TFfi" structure Ds :> sig type t @@ -110,6 +111,8 @@ L.EPrim p => ((L'.EPrim p, loc), D) | L.ERel n => ((L'.ERel n, loc), Ds.used (D, n)) | L.ENamed n => ((L'.ENamed n, loc), D) + | L.EFfi _ => raise Fail "Cloconv EFfi" + | L.EFfiApp _ => raise Fail "Cloconv EFfiApp" | L.EApp (e1, e2) => let val (e1, D) = ccExp env (e1, D)