mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:07:34 +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
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