Show
Ignore:
Timestamp:
08/01/08 14:47:24 (5 months ago)
Author:
sroret
Message:

merge with webkit revision 35510

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/JavaScriptCore/kjs/ustring.h

    r424 r427  
    106106            ALWAYS_INLINE void deref() { if (--rc == 0) destroy(); } 
    107107 
     108            void checkConsistency() const; 
     109 
    108110            // unshared data 
    109111            int offset; 
     
    115117            size_t reportedCost; 
    116118 
    117             // potentially shared data 
     119            // potentially shared data. 0 if backed up by a base string. 
    118120            UChar* buf; 
    119121            int usedCapacity; 
     
    290292    bool equal(const UString::Rep*, const UString::Rep*); 
    291293 
     294#ifdef NDEBUG 
     295    inline void UString::Rep::checkConsistency() const 
     296    { 
     297    } 
     298#endif 
     299 
    292300    inline UString::UString() 
    293301        : m_rep(&Rep::null)