Index: src/profile-generator-inl.h |
diff --git a/src/profile-generator-inl.h b/src/profile-generator-inl.h |
index 4bcfa9b1ecbb260073ebd402a14183c497f9e090..747e5c7271335ac0cc9a94f2cef5ca4dc1a6450c 100644 |
--- a/src/profile-generator-inl.h |
+++ b/src/profile-generator-inl.h |
@@ -121,34 +121,6 @@ uint64_t HeapEntry::id() { |
return id_adaptor.returned_id; |
} |
- |
-template<class Visitor> |
-void HeapEntriesMap::UpdateEntries(Visitor* visitor) { |
- for (HashMap::Entry* p = entries_.Start(); |
- p != NULL; |
- p = entries_.Next(p)) { |
- EntryInfo* entry_info = reinterpret_cast<EntryInfo*>(p->value); |
- entry_info->entry = visitor->GetEntry( |
- reinterpret_cast<HeapObject*>(p->key), |
- entry_info->children_count, |
- entry_info->retainers_count); |
- entry_info->children_count = 0; |
- entry_info->retainers_count = 0; |
- } |
-} |
- |
- |
-bool HeapSnapshotGenerator::ReportProgress(bool force) { |
- const int kProgressReportGranularity = 10000; |
- if (control_ != NULL |
- && (force || progress_counter_ % kProgressReportGranularity == 0)) { |
- return |
- control_->ReportProgressValue(progress_counter_, progress_total_) == |
- v8::ActivityControl::kContinue; |
- } |
- return true; |
-} |
- |
} } // namespace v8::internal |
#endif // ENABLE_LOGGING_AND_PROFILING |