diff options
author | Ally Donaldson <unknown> | 2013-07-22 19:12:40 +0100 |
---|---|---|
committer | Ally Donaldson <unknown> | 2013-07-22 19:12:40 +0100 |
commit | eea0a9e74d6782d08f8dd01c0e1dbec15f1a02cb (patch) | |
tree | 26b5693006a283d80fb47507263e404c282ae2ef /Source/Core/BitvectorAnalysis.cs | |
parent | 62d2fa72d5e1816d6cb1239063302808424c6d13 (diff) |
More refactoring
Diffstat (limited to 'Source/Core/BitvectorAnalysis.cs')
-rw-r--r-- | Source/Core/BitvectorAnalysis.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/BitvectorAnalysis.cs b/Source/Core/BitvectorAnalysis.cs index fd258399..8b35ffcb 100644 --- a/Source/Core/BitvectorAnalysis.cs +++ b/Source/Core/BitvectorAnalysis.cs @@ -190,12 +190,12 @@ namespace Microsoft.Boogie { }
public override Implementation VisitImplementation(Implementation node) {
- for (int i = 0; i < node.InParams.Length; i++) {
+ for (int i = 0; i < node.InParams.Count; i++) {
DisjointSet a = MakeDisjointSet(node.InParams[i]);
DisjointSet b = MakeDisjointSet(node.Proc.InParams[i]);
a.Union(b);
}
- for (int i = 0; i < node.OutParams.Length; i++) {
+ for (int i = 0; i < node.OutParams.Count; i++) {
DisjointSet a = MakeDisjointSet(node.OutParams[i]);
DisjointSet b = MakeDisjointSet(node.Proc.OutParams[i]);
a.Union(b);
|