Fix PR1816, by correcting the broken definition of APInt::countTrailingZeros.
[oota-llvm.git] / include / llvm / ADT / DenseSet.h
index 1a1de8b76f92bb3ae7520344ee2b47752de52fa2..b19dc5e2fc34224bf2a09a4d9a56db63bdc20d91 100644 (file)
@@ -38,7 +38,7 @@ public:
     TheMap.clear();
   }
   
-  bool count(const ValueT &V) {
+  bool count(const ValueT &V) const {
     return TheMap.count(V);
   }