Index: src/heap.cc |
diff --git a/src/heap.cc b/src/heap.cc |
index d6668754220c9354cdc2c7a06fe82c2a39717691..ceec8312a9ae99bfab664a8e414962e051e58c97 100644 |
--- a/src/heap.cc |
+++ b/src/heap.cc |
@@ -114,6 +114,8 @@ Heap::HeapState Heap::gc_state_ = NOT_IN_GC; |
int Heap::mc_count_ = 0; |
int Heap::gc_count_ = 0; |
+int Heap::unflattended_strings_length_ = 0; |
+ |
int Heap::always_allocate_scope_depth_ = 0; |
int Heap::linear_allocation_scope_depth_ = 0; |
int Heap::contexts_disposed_ = 0; |
@@ -302,6 +304,7 @@ void Heap::ReportStatisticsAfterGC() { |
void Heap::GarbageCollectionPrologue() { |
TranscendentalCache::Clear(); |
gc_count_++; |
+ unflattended_strings_length_ = 0; |
#ifdef DEBUG |
ASSERT(allocation_allowed_ && gc_state_ == NOT_IN_GC); |
allow_allocation(false); |