You might wonder why SmallStrings has a public clear() and count(), so do I.
Created attachment 132449 [details] Patch
Committed r111306: <http://trac.webkit.org/changeset/111306>
Comment on attachment 132449 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=132449&action=review > Source/JavaScriptCore/runtime/SmallStrings.cpp:74 > + m_emptyString = 0; Would be even better to use an initializer for this instead of assignment in the body of the function.
> > Source/JavaScriptCore/runtime/SmallStrings.cpp:74 > > + m_emptyString = 0; > > Would be even better to use an initializer for this instead of assignment in the body of the function. This was the first of a pair of patch. The second actually did that, so no worries :)