diff options
author | Shaz Qadeer <qadeer@microsoft.com> | 2015-09-02 20:14:00 -0700 |
---|---|---|
committer | Shaz Qadeer <qadeer@microsoft.com> | 2015-09-02 20:14:00 -0700 |
commit | ff02bddd8982e92d623b0342e7b079edfaa9b366 (patch) | |
tree | 75c561aeff75fbae9f5bc08b58698da6bd1f54c8 /Source/Concurrency | |
parent | 35332e25e899424ee1714eea8d451c79563154aa (diff) |
fixed a crash when there is no collector
Diffstat (limited to 'Source/Concurrency')
-rw-r--r-- | Source/Concurrency/LinearSets.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Concurrency/LinearSets.cs b/Source/Concurrency/LinearSets.cs index 0fa04b1b..f086dd84 100644 --- a/Source/Concurrency/LinearSets.cs +++ b/Source/Concurrency/LinearSets.cs @@ -624,12 +624,14 @@ namespace Microsoft.Boogie foreach (Variable v in AvailableLinearVars(absy)) { var domainName = FindDomainName(v); + if (!linearDomains.ContainsKey(domainName)) continue; domainNameToScope[domainName].Add(v); } foreach (Variable v in program.GlobalVariables) { var domainName = FindDomainName(v); if (domainName == null) continue; + if (!linearDomains.ContainsKey(domainName)) continue; domainNameToScope[domainName].Add(v); } foreach (string domainName in linearDomains.Keys) |