12345678910111213141516171819202122232425262728 |
- /*
- * Copyright (c) 2023, Aliaksandr Kalenik <kalenik.aliaksandr@gmail.com>
- *
- * SPDX-License-Identifier: BSD-2-Clause
- */
- #pragma once
- #include <AK/SourceLocation.h>
- namespace JS {
- struct HeapRoot {
- enum class Type {
- HeapFunctionCapturedPointer,
- Handle,
- MarkedVector,
- RegisterPointer,
- SafeFunction,
- StackPointer,
- VM,
- };
- Type type;
- SourceLocation const* location { nullptr };
- };
- }
|