Bug 982561 - Fix rooting analysis false positive caused by 36eba9f58983 r=me

This commit is contained in:
Jon Coppeard 2014-05-16 12:10:59 +01:00
parent c926026e62
commit d62c9fb3f3

View File

@ -165,6 +165,7 @@ ObjectValueMap::findZoneEdges()
* edge to ensure that the delegate zone does finish marking after the key
* zone.
*/
JS::AutoAssertNoGC nogc;
Zone *mapZone = compartment->zone();
for (Range r = all(); !r.empty(); r.popFront()) {
JSObject *key = r.front().key();