Only zapped used handles if a handle scope fits entirely within one handle block
authorjochen@chromium.org <jochen@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 27 Sep 2013 11:31:06 +0000 (11:31 +0000)
committerjochen@chromium.org <jochen@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 27 Sep 2013 11:31:06 +0000 (11:31 +0000)
commit8d660be21743062be871d1319f6733c6c4bdeb77
tree4f3ea66bcd8955cce1c2a10962baf5c96bc2b702
parent8f60f65bdfac5e219e9e59d46a5a01d777cdb9c7
Only zapped used handles if a handle scope fits entirely within one handle block

This should avoid zapping the same unused handles over and over again
when using many small nested handle scopes.

BUG=none
R=mstarzinger@chromium.org, vegorov@chromium.org

Review URL: https://codereview.chromium.org/24359003

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16987 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/handles-inl.h