Skip to content

Commit

Permalink
Merge pull request #134 from bkragl/drop-dead-options
Browse files Browse the repository at this point in the history
Remove dead Boogie options
  • Loading branch information
akashlal authored Oct 29, 2020
2 parents 90ee3e9 + 36da229 commit 4dcf5fb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
10 changes: 1 addition & 9 deletions source/CoreLib/VerificationPasses.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1158,7 +1158,6 @@ public override CBAProgram runCBAPass(CBAProgram program)
Debug.Assert(onlyEnsures());
// Turn on summary computation in Boogie
Debug.Assert(CommandLineOptions.Clo.StratifiedInlining > 0);
CommandLineOptions.Clo.StratifiedInliningOption = 1;
}

// Insert summaries
Expand Down Expand Up @@ -1694,14 +1693,7 @@ protected void PruneIrrelevantImpls(Program program)

public override ErrorTrace mapBackTrace(ErrorTrace trace)
{
var ret = trace;
if(ExtractLoops) ret = elPass.mapBackTrace(trace);

if (!runHoudini)
{
CommandLineOptions.Clo.StratifiedInliningOption = 0;
}
return ret;
return ExtractLoops ? elPass.mapBackTrace(trace) : trace;
}
}

Expand Down
3 changes: 0 additions & 3 deletions source/Util/BoogieUtil.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@ public static bool InitializeBoogie(string clo)
if (!CommandLineOptions.Clo.Parse(args.ToArray()))
return true;

// No Max: avoids theorem prover restarts
CommandLineOptions.Clo.MaxProverMemory = 0;

return false;
}

Expand Down

0 comments on commit 4dcf5fb

Please sign in to comment.