/* * Copyright (c) 2020, Andreas Kling * * SPDX-License-Identifier: BSD-2-Clause */ #include #include #include #include namespace JS { HandleImpl::HandleImpl(Cell* cell) : m_cell(cell) { m_cell->heap().did_create_handle({}, *this); } HandleImpl::~HandleImpl() { m_cell->heap().did_destroy_handle({}, *this); } }