diff options
author | qadeer <unknown> | 2014-01-14 13:15:59 -0800 |
---|---|---|
committer | qadeer <unknown> | 2014-01-14 13:15:59 -0800 |
commit | 5ead3dae538e8da1ad24db92623eadc8ad5d1242 (patch) | |
tree | 126355156ece745bce895f3d85f64d6a5a4743ac /Source/Concurrency/MoverCheck.cs | |
parent | 1e3138763ff15c6f4376905840bcab959492f543 (diff) |
fixed bug in optimization of commutativity check
Diffstat (limited to 'Source/Concurrency/MoverCheck.cs')
-rw-r--r-- | Source/Concurrency/MoverCheck.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Concurrency/MoverCheck.cs b/Source/Concurrency/MoverCheck.cs index e8b7fa3c..bc65c06f 100644 --- a/Source/Concurrency/MoverCheck.cs +++ b/Source/Concurrency/MoverCheck.cs @@ -379,7 +379,7 @@ namespace Microsoft.Boogie private void CreateCommutativityChecker(Program program, ActionInfo first, ActionInfo second)
{
- if (first == second)
+ if (first == second && first.thatInParams.Count == 0 && first.thatOutParams.Count == 0)
return;
if (first.CommutesWith(second))
return;
|