From bf6df4192e9404432ff8c787475b352d475ceb85 Mon Sep 17 00:00:00 2001 From: Martin Nowack Date: Thu, 5 Dec 2013 21:48:38 +0100 Subject: Deprecate LLVM 2.8 and lower --- lib/Core/StatsTracker.cpp | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'lib/Core/StatsTracker.cpp') diff --git a/lib/Core/StatsTracker.cpp b/lib/Core/StatsTracker.cpp index b5f38b2e..8161a52c 100644 --- a/lib/Core/StatsTracker.cpp +++ b/lib/Core/StatsTracker.cpp @@ -47,19 +47,11 @@ #include "llvm/Support/CommandLine.h" #include "llvm/Support/CFG.h" #include "llvm/Support/raw_os_ostream.h" -#if LLVM_VERSION_CODE < LLVM_VERSION(2, 9) -#include "llvm/System/Process.h" -#else #include "llvm/Support/Process.h" -#endif -#if LLVM_VERSION_CODE < LLVM_VERSION(2, 9) -#include "llvm/System/Path.h" -#else #include "llvm/Support/Path.h" #if LLVM_VERSION_CODE >= LLVM_VERSION(3, 1) #include "llvm/Support/FileSystem.h" #endif -#endif #include #include @@ -305,9 +297,6 @@ void StatsTracker::stepInstruction(ExecutionState &es) { // // FIXME: This trick no longer works, we should fix this in the line // number propogation. -#if LLVM_VERSION_CODE < LLVM_VERSION(2, 7) - if (isa(inst)) -#endif es.coveredLines[&ii.file].insert(ii.line); es.coveredNew = true; es.instsSinceCovNew = 1; -- cgit 1.4.1