From c70345caa213288aa748070f7a03c84fbdf89b5c Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Sun, 14 Mar 2010 05:08:59 +0000 Subject: Update for 2.7. git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@98467 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Core/StatsTracker.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/Core/StatsTracker.cpp') diff --git a/lib/Core/StatsTracker.cpp b/lib/Core/StatsTracker.cpp index 3437e10c..d84db648 100644 --- a/lib/Core/StatsTracker.cpp +++ b/lib/Core/StatsTracker.cpp @@ -269,7 +269,12 @@ void StatsTracker::stepInstruction(ExecutionState &es) { if (!theStatisticManager->getIndexedValue(stats::coveredInstructions, ii.id)) { // Checking for actual stoppoints avoids inconsistencies due // to line number propogation. + // + // FIXME: This trick no longer works, we should fix this in the line + // number propogation. +#if (LLVM_VERSION_MAJOR == 2 && LLVM_VERSION_MINOR < 7) if (isa(inst)) +#endif es.coveredLines[&ii.file].insert(ii.line); es.coveredNew = true; es.instsSinceCovNew = 1; -- cgit v1.2.3