Index: src/heap/heap.h |
diff --git a/src/heap/heap.h b/src/heap/heap.h |
index 97b8d70387acd6045e5df03ac37907b31131b937..5d2142c4dccf98fe47aa8d2bf81284144791a355 100644 |
--- a/src/heap/heap.h |
+++ b/src/heap/heap.h |
@@ -1201,10 +1201,6 @@ class Heap { |
EmbedderHeapTracer* embedder_heap_tracer() { return embedder_heap_tracer_; } |
- EmbedderReachableReferenceReporter* embedder_reachable_reference_reporter() { |
- return embedder_reference_reporter_; |
- } |
- |
size_t wrappers_to_trace() { return wrappers_to_trace_.size(); } |
// =========================================================================== |
@@ -2311,7 +2307,6 @@ class Heap { |
int heap_iterator_depth_; |
EmbedderHeapTracer* embedder_heap_tracer_; |
- EmbedderReachableReferenceReporter* embedder_reference_reporter_; |
std::vector<std::pair<void*, void*>> wrappers_to_trace_; |
// Used for testing purposes. |
@@ -2635,18 +2630,6 @@ class AllocationObserver { |
DISALLOW_COPY_AND_ASSIGN(AllocationObserver); |
}; |
-class TracePossibleWrapperReporter : public EmbedderReachableReferenceReporter { |
- public: |
- explicit TracePossibleWrapperReporter(Heap* heap) : heap_(heap) {} |
- void ReportExternalReference(Value* object) override { |
- heap_->RegisterExternallyReferencedObject( |
- reinterpret_cast<Object**>(object)); |
- } |
- |
- private: |
- Heap* heap_; |
-}; |
- |
} // namespace internal |
} // namespace v8 |