diff options
author | Rustan Leino <unknown> | 2014-02-24 22:54:32 -0800 |
---|---|---|
committer | Rustan Leino <unknown> | 2014-02-24 22:54:32 -0800 |
commit | 9a172309c91360449dd6211b39b96fdff0a7d2d0 (patch) | |
tree | 54cc884e9f63c1e7dbe9167d50ab59b87ce8c4e7 /Source/Predication | |
parent | d9dc7b51a3c1af9177f5b70cf7425b1990d25e77 (diff) |
(Fixed and) strengthened contracts of ReadOnlyVisitor. The postconditions of its methods now demand the return value to equal the given node.
Changed read-only visitors to extend from ReadOnlyVisitor instead of just StandardVisitor.
Diffstat (limited to 'Source/Predication')
-rw-r--r-- | Source/Predication/UniformityAnalyser.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Predication/UniformityAnalyser.cs b/Source/Predication/UniformityAnalyser.cs index 6119d522..a76566e4 100644 --- a/Source/Predication/UniformityAnalyser.cs +++ b/Source/Predication/UniformityAnalyser.cs @@ -396,7 +396,7 @@ namespace Microsoft.Boogie return !nonUniformBlocks[procedureName].Contains(b);
}
- class UniformExpressionAnalysisVisitor : StandardVisitor {
+ class UniformExpressionAnalysisVisitor : ReadOnlyVisitor {
private bool isUniform = true;
private Dictionary<string, bool> uniformityInfo;
|