1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 11:57:35 +00:00

LibJS: Remove unused FunctionNode::set_name()

This commit is contained in:
Linus Groh 2022-02-20 14:13:06 +00:00
parent 93372e0a0d
commit bfa4bc6f2d

View file

@ -632,13 +632,6 @@ protected:
void dump(int indent, String const& class_name) const; void dump(int indent, String const& class_name) const;
protected:
void set_name(FlyString name)
{
VERIFY(m_name.is_empty());
m_name = move(name);
}
private: private:
FlyString m_name; FlyString m_name;
String m_source_text; String m_source_text;