summaryrefslogtreecommitdiffstats
path: root/lib/Analysis/PointerTracking.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-24 02:39:26 +0000
committerChris Lattner <sabre@nondot.org>2009-08-24 02:39:26 +0000
commit9661c13c37d017df6f91a399c0160b82e8a6c39f (patch)
tree3aef730058b56f33b9208294137e40095569e507 /lib/Analysis/PointerTracking.cpp
parent87cbef0df0f7bb86a0e8181aa72c4d322bb0707b (diff)
downloadexternal_llvm-9661c13c37d017df6f91a399c0160b82e8a6c39f.zip
external_llvm-9661c13c37d017df6f91a399c0160b82e8a6c39f.tar.gz
external_llvm-9661c13c37d017df6f91a399c0160b82e8a6c39f.tar.bz2
remove a few dead insertion methods.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79882 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/PointerTracking.cpp')
-rw-r--r--lib/Analysis/PointerTracking.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/Analysis/PointerTracking.cpp b/lib/Analysis/PointerTracking.cpp
index d28e58e..e098647 100644
--- a/lib/Analysis/PointerTracking.cpp
+++ b/lib/Analysis/PointerTracking.cpp
@@ -23,9 +23,9 @@
#include "llvm/Support/InstIterator.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Target/TargetData.h"
+using namespace llvm;
-namespace llvm {
-char PointerTracking::ID=0;
+char PointerTracking::ID = 0;
PointerTracking::PointerTracking() : FunctionPass(&ID) {}
bool PointerTracking::runOnFunction(Function &F) {
@@ -252,11 +252,5 @@ void PointerTracking::print(raw_ostream &OS, const Module* M) const {
}
}
-void PointerTracking::print(std::ostream &o, const Module* M) const {
- raw_os_ostream OS(o);
- print(OS, M);
-}
-
static RegisterPass<PointerTracking> X("pointertracking",
"Track pointer bounds", false, true);
-}