Skip to content
Snippets Groups Projects
Commit fc760e3c authored by Régis Blanc's avatar Régis Blanc
Browse files

epsilon functions generated with proper flags

parent 4d4a3ff1
No related branches found
No related tags found
No related merge requests found
......@@ -30,6 +30,8 @@ object EpsilonElimination extends UnitPhase[Program] {
}.toMap ++ Seq((epsilonVar, Variable(resId)))
val postcondition = replace(eMap, pred)
newFunDef.postcondition = Some(Lambda(Seq(ValDef(resId)), postcondition))
newFunDef.addFlags(fd.flags)
newFunDef.addFlag(Annotation("extern", Seq()))
LetDef(Seq(newFunDef), FunctionInvocation(newFunDef.typed, bSeq map Variable))
case (other, _) => other
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment