summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/FoldingSet.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-02-24 01:41:48 +0000
committerChris Lattner <sabre@nondot.org>2007-02-24 01:41:48 +0000
commita5821eca0d2e3c03e7045159a7ead443d06a81ae (patch)
tree7352449ffd9ec7827a0a0d27be9a4ed8f5be4642 /llvm/lib/Support/FoldingSet.cpp
parentfb94fe742b56ac1270632180e5dccbe30ff05ddc (diff)
downloadbcm5719-llvm-a5821eca0d2e3c03e7045159a7ead443d06a81ae.tar.gz
bcm5719-llvm-a5821eca0d2e3c03e7045159a7ead443d06a81ae.zip
remove folding set debug output
llvm-svn: 34549
Diffstat (limited to 'llvm/lib/Support/FoldingSet.cpp')
-rw-r--r--llvm/lib/Support/FoldingSet.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/Support/FoldingSet.cpp b/llvm/lib/Support/FoldingSet.cpp
index ecb700dfd61..6f7f5ea4cbf 100644
--- a/llvm/lib/Support/FoldingSet.cpp
+++ b/llvm/lib/Support/FoldingSet.cpp
@@ -14,10 +14,8 @@
//
//===----------------------------------------------------------------------===//
-#define DEBUG_TYPE "foldingset"
#include "llvm/ADT/FoldingSet.h"
#include "llvm/Support/MathExtras.h"
-#include "llvm/Support/Debug.h"
#include <cassert>
using namespace llvm;
@@ -231,7 +229,6 @@ FoldingSetImpl::Node *FoldingSetImpl::FindNodeOrInsertPos(const NodeID &ID,
void FoldingSetImpl::InsertNode(Node *N, void *InsertPos) {
assert(N->getNextInBucket() == 0);
// Do we need to grow the hashtable?
- DEBUG(DOUT << "INSERT: " << N << '\n');
if (NumNodes+1 > NumBuckets*2) {
GrowHashTable();
NodeID ID;
@@ -261,7 +258,6 @@ void FoldingSetImpl::InsertNode(Node *N, void *InsertPos) {
bool FoldingSetImpl::RemoveNode(Node *N) {
// Because each bucket is a circular list, we don't need to compute N's hash
// to remove it.
- DEBUG(DOUT << "REMOVE: " << N << '\n');
void *Ptr = N->getNextInBucket();
if (Ptr == 0) return false; // Not in folding set.
OpenPOWER on IntegriCloud