ImutAVLTree now allocates tree nodes from the BumpPtrAllocator using
[oota-llvm.git] / include / llvm / ADT / BitVector.h
index 000cdd3d67e34656e9ceec0c8c878b5177018471..927cfa9f7869ab83645e78d1ed85cc8c4a1eb95b 100644 (file)
@@ -57,7 +57,7 @@ public:
     }
 
     operator bool() const {
-      return (*WordRef) & (1L << BitPos);
+      return ((*WordRef) & (1L << BitPos)) ? true : false;
     }
   };