LibJS: Replace GlobalObject with VM in Environment AOs [Part 5/19]

This commit is contained in:
Linus Groh 2022-08-21 15:12:43 +01:00
commit 275a7a0c0a
Notes: sideshowbarker 2024-07-17 08:00:39 +09:00
22 changed files with 222 additions and 205 deletions

View file

@ -43,8 +43,8 @@ public:
ThrowCompletionOr<Value> get_super_base() const;
bool has_super_binding() const;
virtual bool has_this_binding() const override;
virtual ThrowCompletionOr<Value> get_this_binding(GlobalObject&) const override;
ThrowCompletionOr<Value> bind_this_value(GlobalObject&, Value);
virtual ThrowCompletionOr<Value> get_this_binding(VM&) const override;
ThrowCompletionOr<Value> bind_this_value(VM&, Value);
private:
virtual bool is_function_environment() const override { return true; }