mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-22 01:08:56 +00:00
LibJS: Replace GlobalObject with VM in Environment AOs [Part 5/19]
This commit is contained in:
parent
a022e548b8
commit
275a7a0c0a
Notes:
sideshowbarker
2024-07-17 08:00:39 +09:00
Author: https://github.com/linusg
Commit: 275a7a0c0a
Pull-request: https://github.com/SerenityOS/serenity/pull/14973
Reviewed-by: https://github.com/davidot ✅
22 changed files with 222 additions and 205 deletions
|
@ -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; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue