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/Bytecode/BasicBlock.h> | |
8 | #include <LibJS/Bytecode/Label.h> | |
9 | ||
10 | namespace JS::Bytecode { | |
11 | ||
12 | Label::Label(Bytecode::BasicBlock const& basic_block) | |
13 | 8 | : m_address_or_basic_block_index(basic_block.index()) |
14 | 8 | { |
15 | 8 | } |
16 | ||
17 | } |