1
Fork 0
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:
Andreas Kling 2020-09-21 16:46:45 +02:00
parent d74bb87d46
commit 676cb87a8f
5 changed files with 79 additions and 79 deletions

View file

@ -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()); }