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 | d6b60805e8ff00c20321edf2a126ce6168439247 (patch) | |
tree | 64f4501d056625e6e5cb381358655873b5c9601f /lib/VMCore | |
parent | b498cce6b2e2f89596aba9d0f281c1684a73fb46 (diff) | |
download | external_llvm-d6b60805e8ff00c20321edf2a126ce6168439247.zip external_llvm-d6b60805e8ff00c20321edf2a126ce6168439247.tar.gz external_llvm-d6b60805e8ff00c20321edf2a126ce6168439247.tar.bz2 |
We actually need this code for the release build to prevent link errors,
un#ifdef it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2606 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore')
-rw-r--r-- | lib/VMCore/SymbolTable.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/VMCore/SymbolTable.cpp b/lib/VMCore/SymbolTable.cpp index 64674ca..dba5dcb 100644 --- a/lib/VMCore/SymbolTable.cpp +++ b/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 |