summaryrefslogtreecommitdiff
path: root/Source/Concurrency
diff options
context:
space:
mode:
authorGravatar qadeer <unknown>2014-02-22 08:23:22 -0800
committerGravatar qadeer <unknown>2014-02-22 08:23:22 -0800
commite9479462bfb93795a827af752c28c04386c429b5 (patch)
treedf76ca3a9fb8e8ad94d42f0a8160c0bdc9ca8a84 /Source/Concurrency
parent4cc9668503bbb9be867472e18bd7341b0369da0f (diff)
Added /trustAtomicityTypes option
Diffstat (limited to 'Source/Concurrency')
-rw-r--r--Source/Concurrency/Program.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/Concurrency/Program.cs b/Source/Concurrency/Program.cs
index 45d538df..a3a621ac 100644
--- a/Source/Concurrency/Program.cs
+++ b/Source/Concurrency/Program.cs
@@ -32,8 +32,10 @@ namespace Microsoft.Boogie
List<Declaration> decls = new List<Declaration>();
OwickiGries.AddCheckers(linearTypeChecker, moverTypeChecker, decls);
- MoverCheck.AddCheckers(linearTypeChecker, moverTypeChecker, decls);
-
+ if (!CommandLineOptions.Clo.TrustAtomicityTypes)
+ {
+ MoverCheck.AddCheckers(linearTypeChecker, moverTypeChecker, decls);
+ }
foreach (Declaration decl in decls)
{
Procedure proc = decl as Procedure;