Clear JS function result caches in all global contexts.
authorvegorov@chromium.org <vegorov@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 29 Oct 2010 08:13:19 +0000 (08:13 +0000)
committervegorov@chromium.org <vegorov@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 29 Oct 2010 08:13:19 +0000 (08:13 +0000)
commit1dc2c44e3cf39815954bc196b2cb219a9224f316
treea1b1651234f871a6463baf2b562c36ee8d65e8e7
parent302abe308fe1d854d888529326b88ed138bd8498
Clear JS function result caches in all global contexts.

Original patch by Mark Lam <mark.lam@palm.com> from Hewlett-Packard Development Company, LP. (http://codereview.chromium.org/4187007)

Fix memory corruption in JSFunctionResultCache::Clear caused by out of bounds writes which was revealed by the patch.

Review URL: http://codereview.chromium.org/4200009

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5738 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/heap.cc
src/objects-inl.h