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

--HG--
extra : rebase_source : 1579c3b0af0563dfa5539b5360a23254451c3978
This commit is contained in:
Terrence Cole 2016-02-10 12:46:52 -08:00
parent b899130873
commit 90bd4d3cee

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);
}