Ignore:
Timestamp:
May 21, 2010, 4:49:48 PM (15 years ago)
Author:
[email protected]
Message:

Unreviewed build fix.

Patch by David Levin <[email protected]> on 2010-05-21

  • wtf/SizeLimits.cpp: Removed a check while I figure out how to write it properly.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/runtime/JSString.h

    r59161 r59974  
    328328            return m_value;
    329329        }
    330         const UString tryGetValue() const
    331         {
    332             // If this is a rope, m_value should be null -
    333             // if this is not a rope, m_value should be non-null.
    334             ASSERT(isRope() == m_value.isNull());
     330        const UString& tryGetValue() const
     331        {
     332            if (isRope())
     333                resolveRope(0);
    335334            return m_value;
    336335        }
     
    499498            return getIndexSlowCase(exec, i);
    500499        ASSERT(i < m_value.size());
    501         return jsSingleCharacterSubstring(exec, value(exec), i);
     500        return jsSingleCharacterSubstring(exec, m_value, i);
    502501    }
    503502
Note: See TracChangeset for help on using the changeset viewer.