/src/serenity/Userland/Libraries/LibJS/Heap/Cell.cpp
Line | Count | Source |
1 | | /* |
2 | | * Copyright (c) 2020-2022, 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/Heap.h> |
9 | | #include <LibJS/Runtime/Completion.h> |
10 | | #include <LibJS/Runtime/Value.h> |
11 | | |
12 | | namespace JS { |
13 | | |
14 | | void JS::Cell::initialize(JS::Realm&) |
15 | 62 | { |
16 | 62 | } |
17 | | |
18 | | void JS::Cell::Visitor::visit(JS::Value value) |
19 | 0 | { |
20 | 0 | if (value.is_cell()) |
21 | 0 | visit_impl(value.as_cell()); |
22 | 0 | } |
23 | | |
24 | | } |