summaryrefslogtreecommitdiff
path: root/Source/Core/LoopUnroll.cs
diff options
context:
space:
mode:
authorGravatar Ally Donaldson <unknown>2013-07-22 18:05:27 +0100
committerGravatar Ally Donaldson <unknown>2013-07-22 18:05:27 +0100
commitafaeb081ffcc1c258db6eb7c34ba0b04c493919a (patch)
treed0b07c3e3082f323e17523a3e695dc18ee61062d /Source/Core/LoopUnroll.cs
parent858d43ff93a0cc9bc30ce55906499fb9157124c9 (diff)
More refactoring towards replacing PureCollections.Sequence with List
Diffstat (limited to 'Source/Core/LoopUnroll.cs')
-rw-r--r--Source/Core/LoopUnroll.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/LoopUnroll.cs b/Source/Core/LoopUnroll.cs
index 403f6ff4..249e4249 100644
--- a/Source/Core/LoopUnroll.cs
+++ b/Source/Core/LoopUnroll.cs
@@ -268,7 +268,7 @@ namespace Microsoft.Boogie {
newSuccs.Add(s);
}
- if (newSuccs.Length == 0) {
+ if (newSuccs.Count == 0) {
tcmd = new ReturnCmd(orig.TransferCmd.tok);
} else {
tcmd = new GotoCmd(orig.TransferCmd.tok, newSuccs);