Windows/DynamicLibrary.inc: Remove 'extern "C"' in ELM_Callback.
[oota-llvm.git] / lib / Support / FoldingSet.cpp
index d857559898ed046986a17613902f055f53393ff7..463511408759ccc8cb5829ecf19ce8103ce1028c 100644 (file)
@@ -305,7 +305,7 @@ FoldingSetImpl::Node
 /// is not already in the map.  InsertPos must be obtained from 
 /// FindNodeOrInsertPos.
 void FoldingSetImpl::InsertNode(Node *N, void *InsertPos) {
-  assert(N->getNextInBucket() == 0);
+  assert(!N->getNextInBucket());
   // Do we need to grow the hashtable?
   if (NumNodes+1 > NumBuckets*2) {
     GrowHashTable();