summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Prus <ghost@cs.msu.su>2006-05-29 12:45:15 +0000
committerVladimir Prus <ghost@cs.msu.su>2006-05-29 12:45:15 +0000
commit6ba568fabb3ec4ea75e8fae86e14c629d31166c8 (patch)
treefe920574f87d709ca8a0d90ed4365511aa015ed0
parent74e032a4d4673f53388571ab9ecd783584e3fccf (diff)
downloadllvm-6ba568fabb3ec4ea75e8fae86e14c629d31166c8.tar.gz
llvm-6ba568fabb3ec4ea75e8fae86e14c629d31166c8.tar.bz2
llvm-6ba568fabb3ec4ea75e8fae86e14c629d31166c8.tar.xz
Fix compile error when DEBUG_SYMBOL_TABLE is defined.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28537 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/VMCore/SymbolTable.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/VMCore/SymbolTable.cpp b/lib/VMCore/SymbolTable.cpp
index 3ac8ddfc6a..d82c44f2ec 100644
--- a/lib/VMCore/SymbolTable.cpp
+++ b/lib/VMCore/SymbolTable.cpp
@@ -21,7 +21,7 @@
using namespace llvm;
-#define DEBUG_SYMBOL_TABLE 0
+#define DEBUG_SYMBOL_TABLE 1
#define DEBUG_ABSTYPE 0
SymbolTable::~SymbolTable() {
@@ -167,7 +167,7 @@ Type* SymbolTable::remove(type_iterator Entry) {
#if DEBUG_SYMBOL_TABLE
dump();
- std::cerr << " Removing Value: " << Result->getName() << "\n";
+ std::cerr << " Removing type: " << Entry->first << "\n";
#endif
tmap.erase(Entry);