|
@@ -34,8 +34,8 @@ public:
|
|
|
|
|
|
const Vector<Value>& bound_arguments() const { return m_bound_arguments; }
|
|
|
|
|
|
- Value home_object() const { return m_home_object; }
|
|
|
- void set_home_object(Value home_object) { m_home_object = home_object; }
|
|
|
+ Object* home_object() const { return m_home_object; }
|
|
|
+ void set_home_object(Object* home_object) { m_home_object = home_object; }
|
|
|
|
|
|
ConstructorKind constructor_kind() const { return m_constructor_kind; };
|
|
|
void set_constructor_kind(ConstructorKind constructor_kind) { m_constructor_kind = constructor_kind; }
|
|
@@ -75,7 +75,7 @@ private:
|
|
|
virtual bool is_function() const override { return true; }
|
|
|
Value m_bound_this;
|
|
|
Vector<Value> m_bound_arguments;
|
|
|
- Value m_home_object;
|
|
|
+ Object* m_home_object { nullptr };
|
|
|
ConstructorKind m_constructor_kind = ConstructorKind::Base;
|
|
|
ThisMode m_this_mode { ThisMode::Global };
|
|
|
bool m_has_simple_parameter_list { false };
|