Not reviewed.
authorantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 7 Feb 2011 08:54:44 +0000 (08:54 +0000)
committerantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 7 Feb 2011 08:54:44 +0000 (08:54 +0000)
ASSERTS_DISABLED -> ASSERT_DISABLED

* wtf/BloomFilter.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77792 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/wtf/BloomFilter.h

index d5e9404c5f0255c9f2ab89ae98282d2f1bfa782b..cd03de9caa0b58bceaf3a4d07390e42d5efd3714 100644 (file)
@@ -1,3 +1,11 @@
+2011-02-07  Antti Koivisto  <antti@apple.com>
+
+        Not reviewed.
+        
+        ASSERTS_DISABLED -> ASSERT_DISABLED
+
+        * wtf/BloomFilter.h:
+
 2011-02-06  Ryosuke Niwa  <rniwa@webkit.org>
 
         Unreviewed; speculative Qt build fix.
index ae5b4a2f738df4e1f30e6e1136ec1c9789359135..f81d83e2184e176c90b023e374f5bc9c711ea0a7 100644 (file)
@@ -64,8 +64,8 @@ public:
     bool mayContain(const AtomicString& string) const { return mayContain(string.impl()->existingHash()); }
     bool mayContain(const String& string) const { return mayContain(string.impl()->hash()); }
 
-#ifndef ASSERTS_DISABLED
-    // Slow, for use in asserts only.
+#if !ASSERT_DISABLED
+    // Slow.
     bool likelyEmpty() const;
     bool isClear() const;
 #endif
@@ -110,6 +110,7 @@ inline void BloomFilter<keyBits>::clear()
     memset(m_table, 0, tableSize);
 }
 
+#if !ASSERT_DISABLED
 template <unsigned keyBits>
 bool BloomFilter<keyBits>::likelyEmpty() const
 {
@@ -129,6 +130,7 @@ bool BloomFilter<keyBits>::isClear() const
     }
     return true;
 }
+#endif
 
 }