From 42fab45125992244c499ec5ac64e0376109bd4cb Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Sat, 10 Aug 2013 10:13:40 -0400 Subject: Expand coverage of 'functionInside' for Especialize --- src/reduce.sml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/reduce.sml') diff --git a/src/reduce.sml b/src/reduce.sml index aa5408b0..933a4d94 100644 --- a/src/reduce.sml +++ b/src/reduce.sml @@ -558,7 +558,7 @@ fun kindConAndExp (namedC, namedE) = (ELet (x, t, e1', exp (UnknownE :: env') (EApp (e2', E.liftExpInExp 0 e2), loc)), loc) | EAbs (x, dom, _, b) => - if count b <= 1 orelse passive e2 orelse ESpecialize.functionInside dom then + if count b <= 1 orelse passive e2 orelse ESpecialize.functionInside IS.empty dom then let val r = exp (KnownE e2 :: env') b in @@ -798,7 +798,7 @@ fun kindConAndExp (namedC, namedE) = val t = con env t in - if notFfi t andalso (passive e1' orelse count e2 <= 1 orelse ESpecialize.functionInside t) then + if notFfi t andalso (passive e1' orelse count e2 <= 1 orelse ESpecialize.functionInside IS.empty t) then exp (KnownE e1 :: env) e2 else (ELet (x, t, e1', exp (UnknownE :: env) e2), loc) -- cgit v1.2.3