LibJS: Remove unused member PutPrivateById::m_kind

Private property puts never have a PutKind.
This commit is contained in:
Andreas Kling 2025-10-10 11:27:28 +02:00 committed by Andreas Kling
commit d13b4f3e39
Notes: github-actions[bot] 2025-10-11 18:10:19 +00:00
2 changed files with 3 additions and 7 deletions

View file

@ -3648,13 +3648,11 @@ ByteString PutByIdWithThis::to_byte_string_impl(Bytecode::Executable const& exec
ByteString PutPrivateById::to_byte_string_impl(Bytecode::Executable const& executable) const
{
auto kind = property_kind_to_string(m_kind);
return ByteString::formatted(
"PutPrivateById {}, {}, {}, kind:{} ",
"PutPrivateById {}, {}, {}",
format_operand("base"sv, m_base, executable),
executable.identifier_table->get(m_property),
format_operand("src"sv, m_src, executable),
kind);
format_operand("src"sv, m_src, executable));
}
ByteString GetById::to_byte_string_impl(Bytecode::Executable const& executable) const