summaryrefslogtreecommitdiff
path: root/Source/Core/DeadVarElim.cs
diff options
context:
space:
mode:
authorGravatar wuestholz <unknown>2014-10-17 10:11:47 +0200
committerGravatar wuestholz <unknown>2014-10-17 10:11:47 +0200
commit96c50d521e9b9089bfc20389e589ac5f45705632 (patch)
tree3b96432cff25c75b14bd7df4d8100b722719f269 /Source/Core/DeadVarElim.cs
parent855a0095b2a22230a2791827b666d0073b24ad5b (diff)
Worked on the verification result caching.
Diffstat (limited to 'Source/Core/DeadVarElim.cs')
-rw-r--r--Source/Core/DeadVarElim.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/DeadVarElim.cs b/Source/Core/DeadVarElim.cs
index 2993feb7..1c051ca5 100644
--- a/Source/Core/DeadVarElim.cs
+++ b/Source/Core/DeadVarElim.cs
@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
+using System.Linq;
using Microsoft.Boogie.GraphUtil;
using System.Diagnostics.Contracts;
@@ -423,7 +424,7 @@ namespace Microsoft.Boogie {
HashSet<Variable/*!*/>/*!*/ liveVarsAfter = new HashSet<Variable/*!*/>();
// The injected assumption variables should always be considered to be live.
- foreach (var v in impl.InjectedAssumptionVariables)
+ foreach (var v in impl.InjectedAssumptionVariables.Concat(impl.DoomedInjectedAssumptionVariables))
{
liveVarsAfter.Add(v);
}