summaryrefslogtreecommitdiff
path: root/Source/ExecutionEngine/ExecutionEngine.cs
diff options
context:
space:
mode:
authorGravatar wuestholz <unknown>2014-07-13 16:47:06 +0200
committerGravatar wuestholz <unknown>2014-07-13 16:47:06 +0200
commitf5ea3b3d29b4fee997a2a0e20f81bcbee4d27e01 (patch)
treec75bf70e690889de0731d9b3b5bf8ee886c22f90 /Source/ExecutionEngine/ExecutionEngine.cs
parent85a60be8a0a7ef1438908364b7997dddc4524ed1 (diff)
Refactored how checksums are computed.
Diffstat (limited to 'Source/ExecutionEngine/ExecutionEngine.cs')
-rw-r--r--Source/ExecutionEngine/ExecutionEngine.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/ExecutionEngine/ExecutionEngine.cs b/Source/ExecutionEngine/ExecutionEngine.cs
index 1b799bd5..a568176b 100644
--- a/Source/ExecutionEngine/ExecutionEngine.cs
+++ b/Source/ExecutionEngine/ExecutionEngine.cs
@@ -880,9 +880,7 @@ namespace Microsoft.Boogie
{
// TODO(wuestholz): Maybe we should speed up this lookup.
OtherDefinitionAxiomsCollector.Collect(program.TopLevelDeclarations.OfType<Axiom>());
- // TODO(wuestholz): Maybe we should speed up this lookup.
- program.TopLevelDeclarations.OfType<Function>().Iter(fun => { DependencyCollector.DependenciesChecksum(fun); });
- impls.Iter(impl => { DependencyCollector.DependenciesChecksum(impl); });
+ DependencyCollector.Collect(program);
stablePrioritizedImpls = impls.OrderByDescending(
impl => impl.Priority != 1 ? impl.Priority : Cache.VerificationPriority(impl)).ToArray();
}