summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/SymbolTable.cpp
diff options
context:
space:
mode:
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