2024-05-06 03:06:56 -03:00
|
|
|
/*
|
2024-10-04 08:19:50 -03:00
|
|
|
* Copyright (c) 2024, Andreas Kling <andreas@ladybird.org>
|
2024-05-06 03:06:56 -03:00
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#include <LibJS/Bytecode/BasicBlock.h>
|
|
|
|
|
#include <LibJS/Bytecode/Label.h>
|
|
|
|
|
|
|
|
|
|
namespace JS::Bytecode {
|
|
|
|
|
|
|
|
|
|
Label::Label(Bytecode::BasicBlock const& basic_block)
|
|
|
|
|
: m_address_or_basic_block_index(basic_block.index())
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|