From 3727a10d2043846ec2b2e03a23fae0d804a24fde Mon Sep 17 00:00:00 2001 From: "erikcorry@chromium.org" Date: Wed, 15 Oct 2014 10:11:08 +0000 Subject: [PATCH] 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 | 3 +-- src/objects-inl.h | 2 +- src/objects.cc | 53 ++++++++++++----------------------------------- src/objects.h | 6 +++--- src/serialize.cc | 7 ------- 5 files changed, 18 insertions(+), 53 deletions(-) diff --git a/src/factory.cc b/src/factory.cc index 5b196d3ca0..d1deb7519a 100644 --- a/src/factory.cc +++ b/src/factory.cc @@ -837,7 +837,6 @@ Handle