Changeset 427 for trunk/JavaScriptCore/kjs/ustring.h
- Timestamp:
- 08/01/08 14:47:24 (5 months ago)
- Files:
-
- trunk/JavaScriptCore/kjs/ustring.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/JavaScriptCore/kjs/ustring.h
r424 r427 106 106 ALWAYS_INLINE void deref() { if (--rc == 0) destroy(); } 107 107 108 void checkConsistency() const; 109 108 110 // unshared data 109 111 int offset; … … 115 117 size_t reportedCost; 116 118 117 // potentially shared data 119 // potentially shared data. 0 if backed up by a base string. 118 120 UChar* buf; 119 121 int usedCapacity; … … 290 292 bool equal(const UString::Rep*, const UString::Rep*); 291 293 294 #ifdef NDEBUG 295 inline void UString::Rep::checkConsistency() const 296 { 297 } 298 #endif 299 292 300 inline UString::UString() 293 301 : m_rep(&Rep::null)
