Index: src/heap.cc |
diff --git a/src/heap.cc b/src/heap.cc |
index f06b8be1d98246d3ea9b5f3237b7a96ae211572c..2cb5b20b0f24481789b06e54e91d81f06e23366e 100644 |
--- a/src/heap.cc |
+++ b/src/heap.cc |
@@ -7674,16 +7674,6 @@ void DescriptorLookupCache::Clear() { |
} |
-#ifdef DEBUG |
-void Heap::GarbageCollectionGreedyCheck() { |
- ASSERT(FLAG_gc_greedy); |
- if (isolate_->bootstrapper()->IsActive()) return; |
- if (!AllowAllocationFailure::IsAllowed(isolate_)) return; |
- CollectGarbage(NEW_SPACE); |
-} |
-#endif |
- |
- |
void ExternalStringTable::CleanUp() { |
int last = 0; |
for (int i = 0; i < new_space_strings_.length(); ++i) { |