-
eseidel authored
Reviewed by Maciej. Stop checking isOutOfMemory after every allocation, instead let the collector notify all ExecStates if we ever hit this rare condition. SunSpider claims this was a 2.2% speedup. * kjs/collector.cpp: (KJS::Collector::collect): (KJS::Collector::reportOutOfMemoryToAllInterpreters): * kjs/collector.h: * kjs/nodes.cpp: (KJS::TryNode::execute): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27001 268f45cc-cd09-0410-ab3c-d52691b4dbfc
c504bad6