mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Use mozjs tracing infrastructure (#29918)
* Update mozjs
64711ec2e6
also fixes https://github.com/servo/servo/issues/30043
* Move to mozjs Traceable and introduce CustomTraceable
This commit is contained in:
parent
1f7f4cf2be
commit
450f8193a5
20 changed files with 81 additions and 377 deletions
|
@ -178,6 +178,7 @@ pub struct ModuleTree {
|
|||
// By default all maps in web specs are ordered maps
|
||||
// (https://infra.spec.whatwg.org/#ordered-map), however we can usually get away with using
|
||||
// stdlib maps and sets because we rarely iterate over them.
|
||||
#[custom_trace]
|
||||
parent_identities: DomRefCell<IndexSet<ModuleIdentity>>,
|
||||
#[no_trace]
|
||||
descendant_urls: DomRefCell<IndexSet<ServoUrl>>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue