Update StringObject comment in object.h (#5011)
authorMatt Warren <matt.warren@live.co.uk>
Tue, 17 May 2016 15:42:25 +0000 (16:42 +0100)
committerJan Kotas <jkotas@microsoft.com>
Tue, 17 May 2016 15:42:25 +0000 (08:42 -0700)
* m_ArrayLength is no longer present (I did a search of the source and couldn't find it), so this comment is misleading.
* Also removing mis-leading comment about high two bits of field

src/vm/object.h

index ff2e0b4..2da0922 100644 (file)
@@ -1060,11 +1060,7 @@ typedef PTR_StringObject STRINGREF;
  *
  * Special String implementation for performance.   
  *
- *   m_ArrayLength  - Length of buffer (m_Characters) in number of WCHARs
- *   m_StringLength - Length of string in number of WCHARs, may be smaller
- *                    than the m_ArrayLength implying that there is extra
- *                    space at the end. The high two bits of this field are used
- *                    to indicate if the String has characters higher than 0x7F
+ *   m_StringLength - Length of string in number of WCHARs
  *   m_Characters   - The string buffer
  *
  */