Index: src/profiler/heap-snapshot-generator.cc |
diff --git a/src/profiler/heap-snapshot-generator.cc b/src/profiler/heap-snapshot-generator.cc |
index 5da78c7fb8ae62fa898d6b6ef4a186c40f9a63b5..0fcc4dd6868ea036870fe65d2c349355c91ad952 100644 |
--- a/src/profiler/heap-snapshot-generator.cc |
+++ b/src/profiler/heap-snapshot-generator.cc |
@@ -973,12 +973,12 @@ class IndexedReferencesExtractor : public ObjectVisitor { |
parent_end_(HeapObject::RawField(parent_obj_, parent_obj_->Size())), |
parent_(parent), |
next_index_(0) {} |
- void VisitCodeEntry(Address entry_address) override { |
- Code* code = Code::cast(Code::GetObjectFromEntryAddress(entry_address)); |
- generator_->SetInternalReference(parent_obj_, parent_, "code", code); |
- generator_->TagCodeObject(code); |
+ void VisitCodeEntry(JSFunction* host, Address entry_address) override { |
+ Code* code = Code::cast(Code::GetObjectFromEntryAddress(entry_address)); |
+ generator_->SetInternalReference(parent_obj_, parent_, "code", code); |
+ generator_->TagCodeObject(code); |
} |
- void VisitPointers(Object** start, Object** end) override { |
+ void VisitPointers(HeapObject* host, Object** start, Object** end) override { |
for (Object** p = start; p < end; p++) { |
int index = static_cast<int>(p - HeapObject::RawField(parent_obj_, 0)); |
++next_index_; |