Ignore:
Timestamp:
Jan 18, 2010, 4:14:49 AM (15 years ago)
Author:
Csaba Osztrogonác
Message:

Rubber-stamped by Gustavo Noronha Silva.

Rolling out r53391 and r53392 because of random crashes on buildbots.
https://bugs.webkit.org/show_bug.cgi?id=33731

  • bytecode/CodeBlock.h:

(JSC::CallLinkInfo::seenOnce):
(JSC::CallLinkInfo::setSeen):
(JSC::MethodCallLinkInfo::MethodCallLinkInfo):
(JSC::MethodCallLinkInfo::seenOnce):
(JSC::MethodCallLinkInfo::setSeen):

  • jit/JIT.cpp:

(JSC::JIT::unlinkCall):

  • jit/JITPropertyAccess.cpp:

(JSC::JIT::patchMethodCallProto):

  • runtime/UString.cpp:

(JSC::UString::spliceSubstringsWithSeparators):
(JSC::UString::replaceRange):

  • runtime/UString.h:
  • runtime/UStringImpl.cpp:

(JSC::UStringImpl::baseSharedBuffer):
(JSC::UStringImpl::sharedBuffer):
(JSC::UStringImpl::~UStringImpl):

  • runtime/UStringImpl.h:

(JSC::UntypedPtrAndBitfield::UntypedPtrAndBitfield):
(JSC::UntypedPtrAndBitfield::asPtr):
(JSC::UntypedPtrAndBitfield::operator&=):
(JSC::UntypedPtrAndBitfield::operator|=):
(JSC::UntypedPtrAndBitfield::operator&):
(JSC::UStringImpl::create):
(JSC::UStringImpl::cost):
(JSC::UStringImpl::isIdentifier):
(JSC::UStringImpl::setIsIdentifier):
(JSC::UStringImpl::ref):
(JSC::UStringImpl::deref):
(JSC::UStringImpl::checkConsistency):
(JSC::UStringImpl::UStringImpl):
(JSC::UStringImpl::bufferOwnerString):
(JSC::UStringImpl::bufferOwnership):
(JSC::UStringImpl::isStatic):

  • wtf/StringHashFunctions.h:

(WTF::stringHash):

File:
1 edited

Legend:

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

    r53392 r53400  
    6161    hash ^= hash << 10;
    6262
     63    hash &= 0x7fffffff;
     64
    6365    // this avoids ever returning a hash code of 0, since that is used to
    6466    // signal "hash not computed yet", using a value that is likely to be
    6567    // effectively the same as 0 when the low bits are masked
    6668    if (hash == 0)
    67         hash = 0x80000000;
     69        hash = 0x40000000;
    6870
    6971    return hash;
     
    99101    hash ^= hash << 10;
    100102
     103    hash &= 0x7fffffff;
     104
    101105    // this avoids ever returning a hash code of 0, since that is used to
    102106    // signal "hash not computed yet", using a value that is likely to be
    103107    // effectively the same as 0 when the low bits are masked
    104108    if (hash == 0)
    105         hash = 0x80000000;
     109        hash = 0x40000000;
    106110
    107111    return hash;
     
    138142    hash ^= hash << 10;
    139143
     144    hash &= 0x7fffffff;
     145
    140146    // This avoids ever returning a hash code of 0, since that is used to
    141147    // signal "hash not computed yet", using a value that is likely to be
    142148    // effectively the same as 0 when the low bits are masked.
    143149    if (hash == 0)
    144         hash = 0x80000000;
     150        hash = 0x40000000;
    145151
    146152    return hash;
Note: See TracChangeset for help on using the changeset viewer.