-
fpizlo@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=122950. Patch by Mark Lam <mark.lam@apple.com> on 2013-10-17 Reviewed by Michael Saboff. * jit/JITStubs.h: * llint/LowLevelInterpreter.cpp: (JSC::CLoop::execute): * offlineasm/cloop.rb: Source/WTF: Introduce WTF::Bag and start using it for InlineCallFrameSet https://bugs.webkit.org/show_bug.cgi?id=122941 Reviewed by Geoffrey Garen. Introduce WTF::Bag, which is basically an allocation pool. No POD restrictions. Does one malloc per entry. No need to shrink afterwards. * GNUmakefile.list.am: * WTF.vcxproj/WTF.vcxproj: * WTF.xcodeproj/project.pbxproj: * wtf/Bag.h: Added. (WTF::Bag::Bag): (WTF::Bag::~Bag): (WTF::Bag::add): (WTF::Bag::iterator::iterator): (WTF::Bag::iterator::operator!): (WTF::Bag::iterator::operator*): (WTF::Bag::iterator::operator++): (WTF::Bag::iterator::operator==): (WTF::Bag::begin): (WTF::Bag::end): (WTF::Bag::isEmpty): * wtf/CMakeLists.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@157576 268f45cc-cd09-0410-ab3c-d52691b4dbfc
82466ab0