/* * Copyright (c) 2023, Aliaksandr Kalenik * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include namespace GC { struct HeapRoot { enum class Type { HeapFunctionCapturedPointer, Root, MarkedVector, ConservativeVector, RegisterPointer, StackPointer, VM, }; Type type; SourceLocation const* location { nullptr }; }; }