aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore/Pass.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-10-18 16:11:18 +0000
committerChris Lattner <sabre@nondot.org>2007-10-18 16:11:18 +0000
commitfbf455729a5a85246e91acce695ed1837fe1f0d8 (patch)
tree5e0e2cd37ec527af8959e8d900a62c2e636c7a6b /lib/VMCore/Pass.cpp
parent4c5009caa10c82e515c3a02fd5e3224ad447b198 (diff)
downloadexternal_llvm-fbf455729a5a85246e91acce695ed1837fe1f0d8.zip
external_llvm-fbf455729a5a85246e91acce695ed1837fe1f0d8.tar.gz
external_llvm-fbf455729a5a85246e91acce695ed1837fe1f0d8.tar.bz2
Reduce reliance on rtti info
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43130 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Pass.cpp')
-rw-r--r--lib/VMCore/Pass.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/VMCore/Pass.cpp b/lib/VMCore/Pass.cpp
index 2f581c5..b9d10e5 100644
--- a/lib/VMCore/Pass.cpp
+++ b/lib/VMCore/Pass.cpp
@@ -18,7 +18,6 @@
#include "llvm/ModuleProvider.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Support/ManagedStatic.h"
-#include "llvm/Support/TypeInfo.h"
#include <algorithm>
#include <set>
using namespace llvm;
@@ -49,7 +48,7 @@ void Pass::dumpPassStructure(unsigned Offset) {
const char *Pass::getPassName() const {
if (const PassInfo *PI = getPassInfo())
return PI->getPassName();
- return typeid(*this).name();
+ return "Unnamed pass: implement Pass::getPassName()";
}
// print - Print out the internal state of the pass. This is called by Analyze