mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-12 02:59:45 +00:00
LibJS: Use VM::exception() instead of Interpreter::exception() a bunch
There's a lot more of these things to fix. We'll also want to move from passing Interpreter& around to VM& instead wherever that is enough.
This commit is contained in:
parent
d74bb87d46
commit
676cb87a8f
Notes:
sideshowbarker
2024-07-19 02:16:37 +09:00
Author: https://github.com/awesomekling
Commit: 676cb87a8f
5 changed files with 79 additions and 79 deletions
|
@ -51,7 +51,7 @@ struct PropertyDescriptor {
|
|||
Function* getter { nullptr };
|
||||
Function* setter { nullptr };
|
||||
|
||||
static PropertyDescriptor from_dictionary(Interpreter&, const Object&);
|
||||
static PropertyDescriptor from_dictionary(VM&, const Object&);
|
||||
|
||||
bool is_accessor_descriptor() const { return getter || setter; }
|
||||
bool is_data_descriptor() const { return !(value.is_empty() && !attributes.has_writable()); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue