CopiedBlock::reportLiveBytes() should be totally cool with oversize blocks
authorfpizlo@apple.com <fpizlo@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 6 May 2015 05:52:52 +0000 (05:52 +0000)
committerfpizlo@apple.com <fpizlo@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 6 May 2015 05:52:52 +0000 (05:52 +0000)
commitbdfc7da81974bc546c1cfbd6c91d42ba42ed26fa
tree56568003ce78c623ad705f01c2e492aa3bd54c03
parent3456c9e058f37441601f5aafd15ef7ca6330ebb5
CopiedBlock::reportLiveBytes() should be totally cool with oversize blocks
https://bugs.webkit.org/show_bug.cgi?id=144667

Reviewed by Andreas Kling.

We are now calling this method for oversize blocks. It had an assertion that indirectly
implied that the block is not oversize, because it was claiming that the number of live
bytes should be smaller than the non-oversize-block size.

* heap/CopiedBlockInlines.h:
(JSC::CopiedBlock::reportLiveBytes):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@183851 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/heap/CopiedBlockInlines.h