Index: src/heap/heap.cc |
diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
index 08282f7f69fb43f59b308b47bceb1ce3e62255d9..5a3db5e9d982996e429f26d082186f4316a3da87 100644 |
--- a/src/heap/heap.cc |
+++ b/src/heap/heap.cc |
@@ -113,7 +113,6 @@ Heap::Heap() |
inline_allocation_disabled_(false), |
store_buffer_rebuilder_(store_buffer()), |
hidden_string_(NULL), |
- gc_safe_size_of_old_object_(NULL), |
total_regexp_code_generated_(0), |
tracer_(this), |
high_survival_rate_period_length_(0), |
@@ -247,14 +246,6 @@ bool Heap::HasBeenSetUp() { |
} |
-int Heap::GcSafeSizeOfOldObject(HeapObject* object) { |
- if (IntrusiveMarking::IsMarked(object)) { |
- return IntrusiveMarking::SizeOfMarkedObject(object); |
- } |
- return object->SizeFromMap(object->map()); |
-} |
- |
- |
GarbageCollector Heap::SelectGarbageCollector(AllocationSpace space, |
const char** reason) { |
// Is global GC requested? |
@@ -5759,8 +5750,6 @@ bool Heap::SetUp() { |
base::CallOnce(&initialize_gc_once, &InitializeGCOnce); |
- MarkMapPointersAsEncoded(false); |
- |
// Set up memory allocator. |
if (!isolate_->memory_allocator()->SetUp(MaxReserved(), MaxExecutableSize())) |
return false; |