1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 18:17:44 +00:00

LibJS: Move [[HomeObject]] to ECMAScriptFunctionObject

This commit is contained in:
Linus Groh 2021-09-24 23:49:24 +02:00
parent 06726d41ac
commit 136451c3af
6 changed files with 14 additions and 13 deletions

View file

@ -29,9 +29,6 @@ public:
const Vector<Value>& bound_arguments() const { return m_bound_arguments; }
Object* home_object() const { return m_home_object; }
void set_home_object(Object* home_object) { m_home_object = home_object; }
virtual bool is_strict_mode() const { return false; }
// [[Environment]]
@ -68,7 +65,6 @@ private:
virtual bool is_function() const override { return true; }
Value m_bound_this;
Vector<Value> m_bound_arguments;
Object* m_home_object { nullptr };
bool m_has_simple_parameter_list { false };
Vector<InstanceField> m_fields;
};