Label.cpp 331 B

1234567891011121314151617
  1. /*
  2. * Copyright (c) 2024, Andreas Kling <kling@serenityos.org>
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #include <LibJS/Bytecode/BasicBlock.h>
  7. #include <LibJS/Bytecode/Label.h>
  8. namespace JS::Bytecode {
  9. Label::Label(Bytecode::BasicBlock const& basic_block)
  10. : m_address_or_basic_block_index(basic_block.index())
  11. {
  12. }
  13. }