summaryrefslogtreecommitdiff
path: root/Source/ExecutionEngine
diff options
context:
space:
mode:
authorGravatar wuestholz <unknown>2014-10-16 16:05:02 +0200
committerGravatar wuestholz <unknown>2014-10-16 16:05:02 +0200
commitbdbc1febe585ea725e67e4d114e8097c912fe52d (patch)
treee53466184f9f0a265af0cc0b6a74db336d2d3818 /Source/ExecutionEngine
parent340b44f956de3576c75ee3bee0e0d644bc9e55a1 (diff)
Did some refactoring.
Diffstat (limited to 'Source/ExecutionEngine')
-rw-r--r--Source/ExecutionEngine/VerificationResultCache.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/ExecutionEngine/VerificationResultCache.cs b/Source/ExecutionEngine/VerificationResultCache.cs
index eed92d31..e647ea3b 100644
--- a/Source/ExecutionEngine/VerificationResultCache.cs
+++ b/Source/ExecutionEngine/VerificationResultCache.cs
@@ -136,7 +136,7 @@ namespace Microsoft.Boogie
var p = ExecutionEngine.CachedProgram(vr.ProgramId);
if (p != null)
{
- SetAssertionChecksumsInPreviousSnapshot(impl, p);
+ SetAssertionChecksumsInCachedSnapshot(impl, p);
eai.Inject(impl, p);
run.RewrittenImplementationCount++;
}
@@ -154,7 +154,7 @@ namespace Microsoft.Boogie
var p = ExecutionEngine.CachedProgram(vr.ProgramId);
if (p != null)
{
- SetAssertionChecksumsInPreviousSnapshot(impl, p);
+ SetAssertionChecksumsInCachedSnapshot(impl, p);
}
}
}
@@ -202,12 +202,12 @@ namespace Microsoft.Boogie
}
}
- private static void SetAssertionChecksumsInPreviousSnapshot(Implementation implementation, Program program)
+ private static void SetAssertionChecksumsInCachedSnapshot(Implementation implementation, Program program)
{
- var implPrevSnap = program.FindImplementation(implementation.Id);
- if (implPrevSnap != null)
+ var cachedImpl = program.FindImplementation(implementation.Id);
+ if (cachedImpl != null)
{
- implementation.AssertionChecksumsInPreviousSnapshot = implPrevSnap.AssertionChecksums;
+ implementation.AssertionChecksumsInCachedSnapshot = cachedImpl.AssertionChecksums;
}
}