Coverage Report

Created: 2026-02-16 07:47

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/serenity/Userland/Libraries/LibJS/Heap/Handle.cpp
Line
Count
Source
1
/*
2
 * Copyright (c) 2020, Andreas Kling <kling@serenityos.org>
3
 *
4
 * SPDX-License-Identifier: BSD-2-Clause
5
 */
6
7
#include <LibJS/Heap/Cell.h>
8
#include <LibJS/Heap/Handle.h>
9
#include <LibJS/Runtime/VM.h>
10
11
namespace JS {
12
13
HandleImpl::HandleImpl(Cell* cell, SourceLocation location)
14
0
    : m_cell(cell)
15
0
    , m_location(location)
16
0
{
17
0
    m_cell->heap().did_create_handle({}, *this);
18
0
}
19
20
HandleImpl::~HandleImpl()
21
0
{
22
0
    m_cell->heap().did_destroy_handle({}, *this);
23
0
}
24
25
}