Mercurial > urweb
diff src/cjrize.sml @ 52:198172560b73
FFI through cloconv
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sun, 22 Jun 2008 10:17:34 -0400 |
parents | 537db4ee89f4 |
children | 4f641f8fddaa |
line wrap: on
line diff
--- a/src/cjrize.sml Sun Jun 22 10:12:23 2008 -0400 +++ b/src/cjrize.sml Sun Jun 22 10:17:34 2008 -0400 @@ -93,12 +93,15 @@ ((L'.TRecord si, loc), sm) end | L.TNamed n => ((L'.TNamed n, loc), sm) + | L.TFfi _ => raise Fail "Cjrize TFfi" fun cifyExp ((e, loc), sm) = case e of L.EPrim p => ((L'.EPrim p, loc), sm) | L.ERel n => ((L'.ERel n, loc), sm) | L.ENamed n => ((L'.ENamed n, loc), sm) + | L.EFfi _ => raise Fail "Cjrize EFfi" + | L.EFfiApp _ => raise Fail "Cjrize EFfiApp" | L.ECode n => ((L'.ECode n, loc), sm) | L.EApp (e1, e2) => let