#include "include/cppgc/heap-consistency.h"
#include "include/cppgc/heap.h"
#include "src/base/logging.h"
#include "src/heap/cppgc/heap-base.h"
namespace cppgc {
namespace subtle {
bool DisallowGarbageCollectionScope::IsGarbageCollectionAllowed(
cppgc::HeapHandle& heap_handle) { … }
void DisallowGarbageCollectionScope::Enter(cppgc::HeapHandle& heap_handle) { … }
void DisallowGarbageCollectionScope::Leave(cppgc::HeapHandle& heap_handle) { … }
DisallowGarbageCollectionScope::DisallowGarbageCollectionScope(
cppgc::HeapHandle& heap_handle)
: … { … }
DisallowGarbageCollectionScope::~DisallowGarbageCollectionScope() { … }
void NoGarbageCollectionScope::Enter(cppgc::HeapHandle& heap_handle) { … }
void NoGarbageCollectionScope::Leave(cppgc::HeapHandle& heap_handle) { … }
NoGarbageCollectionScope::NoGarbageCollectionScope(
cppgc::HeapHandle& heap_handle)
: … { … }
NoGarbageCollectionScope::~NoGarbageCollectionScope() { … }
}
}