From f8874287db3d0c6eb1ed943024f9159ea52e7897 Mon Sep 17 00:00:00 2001 From: mlippautz Date: Thu, 20 Aug 2015 03:00:12 -0700 Subject: [PATCH] [heap] Remove unflattened_string_length BUG= Review URL: https://codereview.chromium.org/1303443005 Cr-Commit-Position: refs/heads/master@{#30267} --- src/heap/heap.cc | 2 -- src/heap/heap.h | 3 --- 2 files changed, 5 deletions(-) diff --git a/src/heap/heap.cc b/src/heap/heap.cc index c19cf94..19c668e 100644 --- a/src/heap/heap.cc +++ b/src/heap/heap.cc @@ -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); diff --git a/src/heap/heap.h b/src/heap/heap.h index 4f4ec06..040144d 100644 --- a/src/heap/heap.h +++ b/src/heap/heap.h @@ -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) -- 2.7.4