[heap] Remove unflattened_string_length
authormlippautz <mlippautz@chromium.org>
Thu, 20 Aug 2015 10:00:12 +0000 (03:00 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 20 Aug 2015 10:00:32 +0000 (10:00 +0000)
BUG=

Review URL: https://codereview.chromium.org/1303443005

Cr-Commit-Position: refs/heads/master@{#30267}

src/heap/heap.cc
src/heap/heap.h

index c19cf9402668e8eac68f9b29c7f70c11734206a6..19c668e5bfaf1e35f48d8e3cdc75d35297bf4d2b 100644 (file)
@@ -88,7 +88,6 @@ Heap::Heap()
       ms_count_(0),
       gc_count_(0),
       remembered_unmapped_pages_index_(0),
-      unflattened_strings_length_(0),
 #ifdef DEBUG
       allocation_timeout_(0),
 #endif  // DEBUG
@@ -401,7 +400,6 @@ void Heap::GarbageCollectionPrologue() {
   {
     AllowHeapAllocation for_the_first_part_of_prologue;
     gc_count_++;
-    unflattened_strings_length_ = 0;
 
     if (FLAG_flush_code) {
       mark_compact_collector()->EnableCodeFlushing(true);
index 4f4ec0650035e67a4e8a1fe5a1716ab93df44d9c..040144d4d61c3b9eec755ce77d1fe3b29f354daa 100644 (file)
@@ -1743,9 +1743,6 @@ class Heap {
   int remembered_unmapped_pages_index_;
   Address remembered_unmapped_pages_[kRememberedUnmappedPages];
 
-  // Total length of the strings we failed to flatten since the last GC.
-  int unflattened_strings_length_;
-
 #define ROOT_ACCESSOR(type, name, camel_name) \
   inline void set_##name(type* value);
   ROOT_LIST(ROOT_ACCESSOR)