Use WeakCell to handle the script wrapper cache
authorerikcorry@chromium.org <erikcorry@chromium.org>
Wed, 15 Oct 2014 10:11:08 +0000 (10:11 +0000)
committererikcorry@chromium.org <erikcorry@chromium.org>
Wed, 15 Oct 2014 10:11:08 +0000 (10:11 +0000)
commit3727a10d2043846ec2b2e03a23fae0d804a24fde
tree9279897e2c1b4e4d253739dc0f4f54044cfc5d89
parent5e17ead8df1e7e610be2b31dab44bba80a5f7976
Use WeakCell to handle the script wrapper cache

The script wrapper cache used the API weak handles to provide a weak link from Script to ScriptWrapper. We want to change the way API weakness works, and in this context it's best to get rid of users of the API that don't need to be users.

R=ulan@chromium.org
BUG=

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24622 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/factory.cc
src/objects-inl.h
src/objects.cc
src/objects.h
src/serialize.cc