1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 22:37:36 +00:00

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
parent a022e548b8
commit 275a7a0c0a
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; }