| Index: src/heap/objects-visiting.cc
|
| diff --git a/src/heap/objects-visiting.cc b/src/heap/objects-visiting.cc
|
| index 7b2e2d9a388939440e0aac0bb5c3263fedc4676f..1c790d18576c5e34471fae864508e2cf670b235e 100644
|
| --- a/src/heap/objects-visiting.cc
|
| +++ b/src/heap/objects-visiting.cc
|
| @@ -186,6 +186,17 @@ static bool MustRecordSlots(Heap* heap) {
|
| }
|
|
|
|
|
| +#ifdef TRACE_RETAINING_PATH
|
| +void SetCurrentRetainer(HeapObject* obj) {
|
| + obj->GetHeap()->SetCurrentRetainer(obj);
|
| +}
|
| +
|
| +
|
| +void ResetCurrentRetainer(HeapObject* obj) {
|
| + obj->GetHeap()->SetCurrentRetainer(NULL);
|
| +}
|
| +#endif
|
| +
|
| template <class T>
|
| struct WeakListVisitor;
|
|
|
|
|