Index: src/heap.cc |
diff --git a/src/heap.cc b/src/heap.cc |
index 6921bb653f8a97c905fcc0800736c5044e6e38d4..f6c6ae6e3a68af10513a5fbc7c67957154dc021a 100644 |
--- a/src/heap.cc |
+++ b/src/heap.cc |
@@ -436,7 +436,6 @@ void Heap::ReportStatisticsAfterGC() { |
void Heap::GarbageCollectionPrologue() { |
{ AllowHeapAllocation for_the_first_part_of_prologue; |
- isolate_->transcendental_cache()->Clear(); |
ClearJSFunctionResultCaches(); |
gc_count_++; |
unflattened_strings_length_ = 0; |
@@ -7755,29 +7754,6 @@ void Heap::GarbageCollectionGreedyCheck() { |
#endif |
-TranscendentalCache::SubCache::SubCache(Isolate* isolate, Type t) |
- : type_(t), |
- isolate_(isolate) { |
- uint32_t in0 = 0xffffffffu; // Bit-pattern for a NaN that isn't |
- uint32_t in1 = 0xffffffffu; // generated by the FPU. |
- for (int i = 0; i < kCacheSize; i++) { |
- elements_[i].in[0] = in0; |
- elements_[i].in[1] = in1; |
- elements_[i].output = NULL; |
- } |
-} |
- |
- |
-void TranscendentalCache::Clear() { |
- for (int i = 0; i < kNumberOfCaches; i++) { |
- if (caches_[i] != NULL) { |
- delete caches_[i]; |
- caches_[i] = NULL; |
- } |
- } |
-} |
- |
- |
void ExternalStringTable::CleanUp() { |
int last = 0; |
for (int i = 0; i < new_space_strings_.length(); ++i) { |