diff options
author | qadeer <unknown> | 2014-12-26 00:56:32 -0800 |
---|---|---|
committer | qadeer <unknown> | 2014-12-26 00:56:32 -0800 |
commit | 71fc5f5b32a5939ad488d6070a6acaf4d7cb443a (patch) | |
tree | 582e3f32855f107bc0deb28127c7c5b081d64600 /Source/Concurrency/OwickiGries.cs | |
parent | 84819ceb711f1ae83327e2006df9bb1003ccd65e (diff) |
strengthened type checking
cleaned up the generation of mover checks (based on example from Chris)
added two examples from Chris to regressions
Diffstat (limited to 'Source/Concurrency/OwickiGries.cs')
-rw-r--r-- | Source/Concurrency/OwickiGries.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Concurrency/OwickiGries.cs b/Source/Concurrency/OwickiGries.cs index 8865b69e..dbd1dcbd 100644 --- a/Source/Concurrency/OwickiGries.cs +++ b/Source/Concurrency/OwickiGries.cs @@ -1160,7 +1160,7 @@ namespace Microsoft.Boogie public static void AddCheckers(LinearTypeChecker linearTypeChecker, MoverTypeChecker moverTypeChecker, List<Declaration> decls)
{
Program program = linearTypeChecker.program;
- foreach (int layerNum in moverTypeChecker.AllLayerNums.Except(new int[] { 0 }))
+ foreach (int layerNum in moverTypeChecker.AllCreatedLayerNums.Except(new int[] { moverTypeChecker.leastUnimplementedLayerNum }))
{
if (CommandLineOptions.Clo.TrustLayersDownto <= layerNum || layerNum <= CommandLineOptions.Clo.TrustLayersUpto) continue;
|