Ignore:
Timestamp:
Oct 28, 2007, 11:25:40 PM (18 years ago)
Author:
[email protected]
Message:

2007-10-28 Mark Rowe <[email protected]>

Disable assertions in a manner that doesn't break the Qt Windows build.

  • wtf/HashTable.h: (WTF::::lookup): (WTF::::lookupForWriting): (WTF::::fullLookupForWriting):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/wtf/HashTable.h

    r27213 r27214  
    403403    {
    404404        ASSERT(m_table);
    405 #if !ASSERT_DISABLED && false
     405#if !ASSERT_DISABLED && 0
    406406        if (HashFunctions::safeToCompareToEmptyOrDeleted) {
    407407            ASSERT(!HashTranslator::equal(KeyTraits::emptyValue(), key));
     
    453453    {
    454454        ASSERT(m_table);
    455 #if !ASSERT_DISABLED && false
     455#if !ASSERT_DISABLED && 0
    456456        if (HashFunctions::safeToCompareToEmptyOrDeleted) {
    457457            ASSERT(!HashTranslator::equal(KeyTraits::emptyValue(), key));
     
    510510    {
    511511        ASSERT(m_table);
    512 #if !ASSERT_DISABLED && false
     512#if !ASSERT_DISABLED && 0
    513513        if (HashFunctions::safeToCompareToEmptyOrDeleted) {
    514514            ASSERT(!HashTranslator::equal(KeyTraits::emptyValue(), key));
     
    566566    inline pair<typename HashTable<Key, Value, Extractor, HashFunctions, Traits, KeyTraits>::iterator, bool> HashTable<Key, Value, Extractor, HashFunctions, Traits, KeyTraits>::add(const T& key, const Extra& extra)
    567567    {
    568 #if !ASSERT_DISABLED && false
     568#if !ASSERT_DISABLED && 0
    569569        if (HashFunctions::safeToCompareToEmptyOrDeleted) {
    570570            ASSERT(!HashTranslator::equal(KeyTraits::emptyValue(), key));
Note: See TracChangeset for help on using the changeset viewer.