summaryrefslogtreecommitdiff
path: root/deps/v8/src/profile-generator-inl.h
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2011-03-02 21:04:37 -0800
committerRyan Dahl <ry@tinyclouds.org>2011-03-02 21:04:37 -0800
commit14475c77a61795ab706ddca41be955ea8b8c9eeb (patch)
tree2d4a178aac7d8f4495bbafbe21e28531e4a71cc5 /deps/v8/src/profile-generator-inl.h
parentcf7b680db9f61a9f757581b1e3f4335e4402b722 (diff)
downloadnode-new-14475c77a61795ab706ddca41be955ea8b8c9eeb.tar.gz
Upgrade V8 to 3.1.8
Diffstat (limited to 'deps/v8/src/profile-generator-inl.h')
-rw-r--r--deps/v8/src/profile-generator-inl.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/deps/v8/src/profile-generator-inl.h b/deps/v8/src/profile-generator-inl.h
index 4bcfa9b1ec..747e5c7271 100644
--- a/deps/v8/src/profile-generator-inl.h
+++ b/deps/v8/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