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/ConservativeVector.cpp
Line
Count
Source
1
/*
2
 * Copyright (c) 2024, Andreas Kling <kling@serenityos.org>
3
 *
4
 * SPDX-License-Identifier: BSD-2-Clause
5
 */
6
7
#include <LibJS/Heap/ConservativeVector.h>
8
#include <LibJS/Heap/Heap.h>
9
10
namespace JS {
11
12
ConservativeVectorBase::ConservativeVectorBase(Heap& heap)
13
0
    : m_heap(&heap)
14
0
{
15
0
    m_heap->did_create_conservative_vector({}, *this);
16
0
}
17
18
ConservativeVectorBase::~ConservativeVectorBase()
19
0
{
20
0
    m_heap->did_destroy_conservative_vector({}, *this);
21
0
}
22
23
}