From: mlippautz Date: Thu, 20 Aug 2015 10:00:12 +0000 (-0700) Subject: [heap] Remove unflattened_string_length X-Git-Tag: upstream/4.7.83~773 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f8874287db3d0c6eb1ed943024f9159ea52e7897;p=platform%2Fupstream%2Fv8.git [heap] Remove unflattened_string_length BUG= Review URL: https://codereview.chromium.org/1303443005 Cr-Commit-Position: refs/heads/master@{#30267} --- 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)