| Index: src/profile-generator-inl.h
|
| diff --git a/src/profile-generator-inl.h b/src/profile-generator-inl.h
|
| index 65369befdfa8fa710eecf09a2e174f64fec214b2..284e2dfa361af19df6f6f8cf159dbb977d612922 100644
|
| --- a/src/profile-generator-inl.h
|
| +++ b/src/profile-generator-inl.h
|
| @@ -95,6 +95,12 @@ CodeEntry* ProfileGenerator::EntryForVMState(StateTag tag) {
|
| }
|
|
|
|
|
| +HeapEntry* HeapGraphEdge::from() const {
|
| + return const_cast<HeapEntry*>(
|
| + reinterpret_cast<const HeapEntry*>(this - child_index_) - 1);
|
| +}
|
| +
|
| +
|
| SnapshotObjectId HeapObjectsMap::GetNthGcSubrootId(int delta) {
|
| return kGcRootsFirstSubrootId + delta * kObjectIdStep;
|
| }
|
|
|