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:
parent
4c5508b42f
commit
7a820bec9d
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user