summaryrefslogtreecommitdiff
path: root/Source/DafnyExtension
diff options
context:
space:
mode:
authorGravatar wuestholz <unknown>2013-06-19 19:10:38 -0700
committerGravatar wuestholz <unknown>2013-06-19 19:10:38 -0700
commit2a8f3ffca06ab037ba8f0eda29072337b7775af1 (patch)
treedca344e1774fdd264f2f8b7d74abd102e45456ef /Source/DafnyExtension
parentf41945b8fa8148f03c198fc898995d86e4b6ebfb (diff)
Did some refactoring of the error reporting functionality.
Diffstat (limited to 'Source/DafnyExtension')
-rw-r--r--Source/DafnyExtension/DafnyDriver.cs5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/DafnyExtension/DafnyDriver.cs b/Source/DafnyExtension/DafnyDriver.cs
index 0811236d..b740e5cf 100644
--- a/Source/DafnyExtension/DafnyDriver.cs
+++ b/Source/DafnyExtension/DafnyDriver.cs
@@ -66,7 +66,7 @@ namespace DafnyLanguage
{
}
- public void WriteTrailer(int verified, int errors, int inconclusives, int timeOuts, int outOfMemories)
+ public void WriteTrailer(PipelineStatistics stats)
{
}
@@ -228,8 +228,7 @@ namespace DafnyLanguage
if (oc == PipelineOutcome.ResolvedAndTypeChecked) {
ExecutionEngine.EliminateDeadVariablesAndInline(program);
ExecutionEngine.errorInformationFactory = new DafnyErrorInformationFactory();
- int errorCount, verified, inconclusives, timeOuts, outOfMemories;
- return ExecutionEngine.InferAndVerify(program, out errorCount, out verified, out inconclusives, out timeOuts, out outOfMemories, er, requestId);
+ return ExecutionEngine.InferAndVerify(program, new PipelineStatistics(), er, requestId);
}
return oc;
}