diff options
author | Ally Donaldson <unknown> | 2013-07-22 18:05:27 +0100 |
---|---|---|
committer | Ally Donaldson <unknown> | 2013-07-22 18:05:27 +0100 |
commit | afaeb081ffcc1c258db6eb7c34ba0b04c493919a (patch) | |
tree | d0b07c3e3082f323e17523a3e695dc18ee61062d /Source/Core/VariableDependenceAnalyser.cs | |
parent | 858d43ff93a0cc9bc30ce55906499fb9157124c9 (diff) |
More refactoring towards replacing PureCollections.Sequence with List
Diffstat (limited to 'Source/Core/VariableDependenceAnalyser.cs')
-rw-r--r-- | Source/Core/VariableDependenceAnalyser.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VariableDependenceAnalyser.cs b/Source/Core/VariableDependenceAnalyser.cs index fd69d911..476f1cac 100644 --- a/Source/Core/VariableDependenceAnalyser.cs +++ b/Source/Core/VariableDependenceAnalyser.cs @@ -360,7 +360,7 @@ namespace Microsoft.Boogie { HashSet<VariableDescriptor> result = new HashSet<VariableDescriptor>();
var gotoCmd = b.TransferCmd as GotoCmd;
- if (gotoCmd != null && gotoCmd.labelTargets.Length >= 2) {
+ if (gotoCmd != null && gotoCmd.labelTargets.Count >= 2) {
foreach (Block succ in gotoCmd.labelTargets) {
foreach (Cmd c in succ.Cmds) {
AssumeCmd a = c as AssumeCmd;
|