mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 06:58:11 +00:00
LibJS: Add LoadedModules to Script and CyclicModule
This commit is contained in:
parent
d60e8c9df5
commit
33b40eaeed
4 changed files with 11 additions and 2 deletions
|
@ -45,6 +45,8 @@ void Script::visit_edges(Cell::Visitor& visitor)
|
|||
visitor.visit(m_realm);
|
||||
if (m_host_defined)
|
||||
m_host_defined->visit_host_defined_self(visitor);
|
||||
for (auto const& loaded_module : m_loaded_modules)
|
||||
visitor.visit(loaded_module.module);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue