mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 13:25:37 +00:00
Bug 957891 - Treat PersistentRooted as Rooted for the hazard analysis; r=sfink
--HG-- extra : rebase_source : 6744bb6509f2c3016f751d1f246c84ecd09603ab
This commit is contained in:
parent
6cd94924bc
commit
b53a33f789
@ -220,7 +220,7 @@ function isRootedPointerTypeName(name)
|
||||
if (name.startsWith('MaybeRooted<'))
|
||||
return /\(js::AllowGC\)1u>::RootType/.test(name);
|
||||
|
||||
return name.startsWith('Rooted');
|
||||
return name.startsWith('Rooted') || name.startsWith('PersistentRooted');
|
||||
}
|
||||
|
||||
function isSuppressConstructor(name)
|
||||
|
Loading…
Reference in New Issue
Block a user