Revision: 15437
Author: [email protected]
Date: Tue Jul 2 01:27:27 2013
Log: Properly cleanup the transcendental subcaches.
[email protected]
Review URL: https://codereview.chromium.org/18487002
http://code.google.com/p/v8/source/detail?r=15437
Modified:
/branches/bleeding_edge/src/heap.h
=======================================
--- /branches/bleeding_edge/src/heap.h Mon Jul 1 08:12:21 2013
+++ /branches/bleeding_edge/src/heap.h Tue Jul 2 01:27:27 2013
@@ -2951,6 +2951,10 @@
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();
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.