-
ggaren@apple.com authored
Reviewed by Oliver Hunt. Standardized handling of handles for immediate values https://bugs.webkit.org/show_bug.cgi?id=57788 * collector/handles/HandleHeap.cpp: (JSC::HandleHeap::clearWeakPointers): Don't check for null or non-cell values here, because our write barrier guarantees that such values are not in the weak list. (JSC::HandleHeap::writeBarrier): Standardized on checking for null before checking for cell, and on using early return instead of if/else. * collector/handles/HandleHeap.h: (JSC::HandleHeap::deallocate): (JSC::HandleHeap::makeWeak): Ditto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82874 268f45cc-cd09-0410-ab3c-d52691b4dbfc
4259c481