Properly cleanup the transcendental subcaches.

R=danno@chromium.org

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15437 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
bmeurer@chromium.org 2013-07-02 08:27:27 +00:00
parent 4c5508b42f
commit 7a820bec9d

View File

@ -2952,6 +2952,10 @@ class TranscendentalCache {
for (int i = 0; i < kNumberOfCaches; ++i) caches_[i] = NULL;
}
~TranscendentalCache() {
for (int i = 0; i < kNumberOfCaches; ++i) delete caches_[i];
}
// Used to create an external reference.
inline Address cache_array_address();