1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 02:57:42 +00:00

LibJS: Don't require Interpreter& for constructing an Accessor

This commit is contained in:
Andreas Kling 2020-09-27 19:59:33 +02:00
parent c59a8d84d3
commit a61ede51e2
3 changed files with 8 additions and 8 deletions

View file

@ -341,7 +341,7 @@ void IndexedProperties::append_all(Object* this_object, const IndexedProperties&
for (auto it = properties.begin(false); it != properties.end(); ++it) {
const auto& element = it.value_and_attributes(this_object, evaluate_accessors);
if (this_object && this_object->interpreter().exception())
if (this_object && this_object->vm().exception())
return;
m_storage->put(m_storage->array_like_size(), element.value, element.attributes);
}