From 6ba568fabb3ec4ea75e8fae86e14c629d31166c8 Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Mon, 29 May 2006 12:45:15 +0000 Subject: 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 --- lib/VMCore/SymbolTable.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/VMCore/SymbolTable.cpp') diff --git a/lib/VMCore/SymbolTable.cpp b/lib/VMCore/SymbolTable.cpp index 3ac8ddf..d82c44f 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); -- cgit v1.1