Bug 1247381 - Restore a CC optimization dropped in bug 1105069 part 7; r=mccr8

This commit is contained in:
Terrence Cole 2016-02-10 12:46:52 -08:00
parent ba668ac04b
commit 8c6ca45192

View File

@ -209,7 +209,7 @@ NoteWeakMapsTracer::trace(JSObject* aMap, JS::GCCellPtr aKey,
mChildTracer.mKey = aKey;
mChildTracer.mKeyDelegate = kdelegate;
if (aValue.is<JSString>()) {
if (!aValue.is<JSString>()) {
JS::TraceChildren(&mChildTracer, aValue);
}