mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01:00
LibJS: Remove unused member PutPrivateById::m_kind
Private property puts never have a PutKind.
This commit is contained in:
parent
e7a3c4dbad
commit
d13b4f3e39
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1311,12 +1311,11 @@ private:
|
|||
|
||||
class PutPrivateById final : public Instruction {
|
||||
public:
|
||||
explicit PutPrivateById(Operand base, IdentifierTableIndex property, Operand src, PutKind kind = PutKind::Normal)
|
||||
explicit PutPrivateById(Operand base, IdentifierTableIndex property, Operand src)
|
||||
: Instruction(Type::PutPrivateById)
|
||||
, m_base(base)
|
||||
, m_property(property)
|
||||
, m_src(src)
|
||||
, m_kind(kind)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -1336,7 +1335,6 @@ private:
|
|||
Operand m_base;
|
||||
IdentifierTableIndex m_property;
|
||||
Operand m_src;
|
||||
PutKind m_kind;
|
||||
};
|
||||
|
||||
class DeleteById final : public Instruction {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user