https://bugs.webkit.org/show_bug.cgi?id=33731
authorbarraclough@apple.com <barraclough@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 18 Jan 2010 07:36:45 +0000 (07:36 +0000)
committerbarraclough@apple.com <barraclough@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 18 Jan 2010 07:36:45 +0000 (07:36 +0000)
commit712875679917d69955f9af295e5ae006ef91976d
tree0152935a43ec11d4787cf2f2c0bd3bc7cb949472
parent648f3a6fa9f041f46c880be64d330129f043dfeb
https://bugs.webkit.org/show_bug.cgi?id=33731
Remove UntypedPtrAndBitfield from UStringImpl (akin to PtrAndFlags).

Reviewed by Oliver Hunt.

This break the OS X Leaks tool.  Instead, free up some more bits from the refCount.

* runtime/UStringImpl.cpp:
(JSC::UStringImpl::sharedBuffer):
(JSC::UStringImpl::~UStringImpl):
* runtime/UStringImpl.h:
(JSC::UStringImpl::cost):
(JSC::UStringImpl::checkConsistency):
(JSC::UStringImpl::UStringImpl):
(JSC::UStringImpl::bufferOwnerString):
(JSC::UStringImpl::):
* wtf/StringHashFunctions.h:
(WTF::stringHash):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53392 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/ChangeLog
JavaScriptCore/runtime/UString.cpp
JavaScriptCore/runtime/UStringImpl.cpp
JavaScriptCore/runtime/UStringImpl.h
JavaScriptCore/wtf/StringHashFunctions.h