summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/SymbolTable.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-05-10 18:54:35 +0000
committerChris Lattner <sabre@nondot.org>2002-05-10 18:54:35 +0000
commite7ba5fb06549e1caacd3ba9377f084b46d27836e (patch)
tree8112fd463162e93ee108a385f087f07054985b6d /llvm/lib/VMCore/SymbolTable.cpp
parent94b4c5fe83a0ee1cc5ebbd0c5c1a680f7cea9e67 (diff)
downloadbcm5719-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.cpp7
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
OpenPOWER on IntegriCloud