Use unsigned for HashSet size.
https://bugs.webkit.org/show_bug.cgi?id=142518
Patch by Alex Christensen <[email protected]> on 2015-03-10
Reviewed by Benjamin Poulain.
Source/JavaScriptCore:
- dfg/DFGAvailabilityMap.cpp:
(JSC::DFG::AvailabilityMap::prune):
- ftl/FTLOSRExitCompiler.cpp:
(JSC::FTL::compileStub):
(JSC::MarkedBlockSet::remove):
Source/WebCore:
- Modules/websockets/WebSocketDeflateFramer.cpp:
(WebCore::WebSocketExtensionDeflateFrame::processResponse):
- bindings/js/SerializedScriptValue.cpp:
(WebCore::CloneSerializer::checkForDuplicate):
(WebCore::CloneSerializer::writeConstantPoolIndex):
(WebCore::ScriptRunner::~ScriptRunner):
- loader/ResourceLoadScheduler.h:
- platform/graphics/Font.cpp:
(WebCore::Font::systemFallbackFontForCharacter):
- platform/graphics/FontCache.cpp:
(WebCore::FontCache::purgeInactiveFontDataIfNeeded):
(WebCore::FontCache::purgeInactiveFontData):
- platform/graphics/FontCache.h:
- platform/graphics/freetype/FontCacheFreeType.cpp:
(WebCore::FontCache::systemFallbackForCharacters):
- platform/graphics/ios/FontCacheIOS.mm:
(WebCore::FontCache::getSystemFontFallbackForCharacters):
(WebCore::FontCache::systemFallbackForCharacters):
(WebCore::FontCache::similarFont):
- platform/graphics/mac/FontCacheMac.mm:
(WebCore::shouldAutoActivateFontIfNeeded):
(WebCore::FontCache::systemFallbackForCharacters):
(WebCore::FontCache::similarFont):
- platform/graphics/win/FontCacheWin.cpp:
(WebCore::FontCache::systemFallbackForCharacters):
- rendering/RenderDeprecatedFlexibleBox.cpp:
(WebCore::FlexBoxIterator::next):
- rendering/RenderTableSection.cpp:
(WebCore::RenderTableSection::computeOverflowFromCells):
Source/WTF:
(WTF::Traits>::size):
(WTF::Traits>::capacity):
(WTF::X>::size):
(WTF::X>::capacity):
(WTF::V>::size):
(WTF::V>::capacity):
(WTF::HashTable::Stats::recordCollisionAtCount):
(WTF::HashTable::Stats::dumpStats):
(WTF::HashTable::size):
(WTF::HashTable::capacity):
(WTF::KeyTraits>::deallocateTable):
(WTF::KeyTraits>::checkTableConsistencyExceptSize):
- wtf/HashTraits.h:
- wtf/ListHashSet.h:
(WTF::U>::size):
(WTF::U>::capacity):
Tools:
- TestWebKitAPI/Tests/WTF/HashMap.cpp:
(TestWebKitAPI::TEST):
- TestWebKitAPI/Tests/WTF/HashSet.cpp:
(TestWebKitAPI::testInitialCapacity):
- TestWebKitAPI/Tests/WTF/ListHashSet.cpp:
(TestWebKitAPI::TEST):