Ignore:
Timestamp:
Jan 18, 2010, 11:22:51 PM (15 years ago)
Author:
[email protected]
Message:

Revert r53454, since it causes much sadness in this world.

Patch by Gavin Barraclough <[email protected]> on 2010-01-18
Reviewed by NOBODY (build fix).

  • runtime/UString.cpp:

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

  • 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/runtime/UString.cpp

    r53454 r53456  
    349349UString UString::spliceSubstringsWithSeparators(const Range* substringRanges, int rangeCount, const UString* separators, int separatorCount) const
    350350{
     351    m_rep->checkConsistency();
     352
    351353    if (rangeCount == 1 && separatorCount == 0) {
    352354        int thisSize = size();
     
    390392UString UString::replaceRange(int rangeStart, int rangeLength, const UString& replacement) const
    391393{
     394    m_rep->checkConsistency();
     395
    392396    int replacementLength = replacement.size();
    393397    int totalLength = size() - rangeLength + replacementLength;
Note: See TracChangeset for help on using the changeset viewer.