summaryrefslogtreecommitdiff
path: root/Source/ExecutionEngine
diff options
context:
space:
mode:
authorGravatar wuestholz <unknown>2013-07-10 18:18:39 -0700
committerGravatar wuestholz <unknown>2013-07-10 18:18:39 -0700
commit035abd7ec2a774c8a721f7c39d58224fdcd123e2 (patch)
treec6a4a08a40cfae114a2c9b2b02c3cf618e6fd115 /Source/ExecutionEngine
parent2f20c7eeb74f2b2d39de95f0c3642458d836067a (diff)
Worked on the parallelization.
Diffstat (limited to 'Source/ExecutionEngine')
-rw-r--r--Source/ExecutionEngine/ExecutionEngine.cs12
1 files changed, 7 insertions, 5 deletions
diff --git a/Source/ExecutionEngine/ExecutionEngine.cs b/Source/ExecutionEngine/ExecutionEngine.cs
index 036c8b66..0874541b 100644
--- a/Source/ExecutionEngine/ExecutionEngine.cs
+++ b/Source/ExecutionEngine/ExecutionEngine.cs
@@ -355,9 +355,7 @@ namespace Microsoft.Boogie
public static ErrorInformationFactory errorInformationFactory = new ErrorInformationFactory();
public readonly static VerificationResultCache Cache = new VerificationResultCache();
-
- static LinearTypechecker linearTypechecker;
-
+
static List<Checker> Checkers = new List<Checker>();
static IDictionary<string, CancellationTokenSource> ImplIdToCancellationTokenSource = new ConcurrentDictionary<string, CancellationTokenSource>();
@@ -419,7 +417,8 @@ namespace Microsoft.Boogie
PrintBplFile(CommandLineOptions.Clo.PrintFile, program, false);
}
- PipelineOutcome oc = ResolveAndTypecheck(program, fileNames[fileNames.Count - 1]);
+ LinearTypechecker linearTypechecker;
+ PipelineOutcome oc = ResolveAndTypecheck(program, fileNames[fileNames.Count - 1], out linearTypechecker);
if (oc != PipelineOutcome.ResolvedAndTypeChecked)
return;
@@ -587,10 +586,13 @@ namespace Microsoft.Boogie
/// - TypeCheckingError if a type checking error occurred
/// - ResolvedAndTypeChecked if both resolution and type checking succeeded
/// </summary>
- public static PipelineOutcome ResolveAndTypecheck(Program program, string bplFileName)
+ public static PipelineOutcome ResolveAndTypecheck(Program program, string bplFileName, out LinearTypechecker linearTypechecker)
{
Contract.Requires(program != null);
Contract.Requires(bplFileName != null);
+
+ linearTypechecker = null;
+
// ---------- Resolve ------------------------------------------------------------
if (CommandLineOptions.Clo.NoResolve)