/* * Copyright (c) 2020-2024, Andreas Kling * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include namespace JS { class Cell : public GC::Cell { GC_CELL(Cell, GC::Cell); public: virtual void initialize(Realm&); ALWAYS_INLINE VM& vm() const { return *reinterpret_cast(private_data()); } }; }