diff options
Diffstat (limited to 'deps/v8/test/cctest/heap/heap-utils.h')
-rw-r--r-- | deps/v8/test/cctest/heap/heap-utils.h | 28 |
1 files changed, 2 insertions, 26 deletions
diff --git a/deps/v8/test/cctest/heap/heap-utils.h b/deps/v8/test/cctest/heap/heap-utils.h index d1dffd3fe2..abaa10c7ca 100644 --- a/deps/v8/test/cctest/heap/heap-utils.h +++ b/deps/v8/test/cctest/heap/heap-utils.h @@ -8,29 +8,7 @@ #include "src/api/api-inl.h" #include "src/heap/heap.h" -namespace v8 { -namespace internal { -namespace heap { - -START_ALLOW_USE_DEPRECATED() - -class V8_NODISCARD TemporaryEmbedderHeapTracerScope { - public: - TemporaryEmbedderHeapTracerScope(v8::Isolate* isolate, - v8::EmbedderHeapTracer* tracer) - : isolate_(isolate) { - isolate_->SetEmbedderHeapTracer(tracer); - } - - ~TemporaryEmbedderHeapTracerScope() { - isolate_->SetEmbedderHeapTracer(nullptr); - } - - private: - v8::Isolate* const isolate_; -}; - -END_ALLOW_USE_DEPRECATED() +namespace v8::internal::heap { void SealCurrentObjects(Heap* heap); @@ -91,8 +69,6 @@ bool InCorrectGeneration(v8::Isolate* isolate, return InCorrectGeneration(*v8::Utils::OpenHandle(*tmp)); } -} // namespace heap -} // namespace internal -} // namespace v8 +} // namespace v8::internal::heap #endif // HEAP_HEAP_UTILS_H_ |