diff options
author | Chris Lattner <sabre@nondot.org> | 2002-05-10 18:54:35 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-05-10 18:54:35 +0000 |
commit | e7ba5fb06549e1caacd3ba9377f084b46d27836e (patch) | |
tree | 8112fd463162e93ee108a385f087f07054985b6d /llvm/lib/VMCore/SymbolTable.cpp | |
parent | 94b4c5fe83a0ee1cc5ebbd0c5c1a680f7cea9e67 (diff) | |
download | bcm5719-llvm-e7ba5fb06549e1caacd3ba9377f084b46d27836e.tar.gz bcm5719-llvm-e7ba5fb06549e1caacd3ba9377f084b46d27836e.zip |
We actually need this code for the release build to prevent link errors,
un#ifdef it.
llvm-svn: 2606
Diffstat (limited to 'llvm/lib/VMCore/SymbolTable.cpp')
-rw-r--r-- | llvm/lib/VMCore/SymbolTable.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/llvm/lib/VMCore/SymbolTable.cpp b/llvm/lib/VMCore/SymbolTable.cpp index 64674ca4c66..dba5dcbf864 100644 --- a/llvm/lib/VMCore/SymbolTable.cpp +++ b/llvm/lib/VMCore/SymbolTable.cpp @@ -11,6 +11,7 @@ #include "llvm/Function.h" #include "Support/StringExtras.h" #include <iostream> +#include <algorithm> using std::string; using std::pair; @@ -323,10 +324,6 @@ void SymbolTable::refineAbstractType(const DerivedType *OldType, } } - -#ifndef NDEBUG -#include <algorithm> - static void DumpVal(const pair<const string, Value *> &V) { std::cout << " '" << V.first << "' = "; V.second->dump(); @@ -349,5 +346,3 @@ void SymbolTable::dump() const { ParentSymTab->dump(); } } - -#endif |