mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 00:07:34 +00:00
LibJS: Visit internal values in PromiseValueList
This commit is contained in:
parent
212c8dad5e
commit
d46be7e7f2
2 changed files with 8 additions and 0 deletions
|
@ -13,6 +13,13 @@
|
|||
|
||||
namespace JS {
|
||||
|
||||
void PromiseValueList::visit_edges(Visitor& visitor)
|
||||
{
|
||||
Cell::visit_edges(visitor);
|
||||
for (auto& val : m_values)
|
||||
visitor.visit(val);
|
||||
}
|
||||
|
||||
PromiseResolvingElementFunction::PromiseResolvingElementFunction(size_t index, PromiseValueList& values, PromiseCapability capability, RemainingElements& remaining_elements, Object& prototype)
|
||||
: NativeFunction(prototype)
|
||||
, m_index(index)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue