-
mhahnenberg@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=120639 Reviewed by Oliver Hunt. ASSERT(!m_heap->shouldCollect()) is no longer true due to our use of the GC deferral mechanism. We could technically be beyond our byte allocation limit, but still not try to collect due to deferral. This patch amends shouldCollect() to return false if GC is currently deferred. * heap/Heap.h: (JSC::Heap::shouldCollect): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155056 268f45cc-cd09-0410-ab3c-d52691b4dbfc
077d0425