bug 519476 - replacing JSSTRING_DEFLATED with scanning of the deflated cache. r=jwalden,dmandelin

This commit is contained in:
Igor Bukanov
2010-03-16 21:28:33 +03:00
parent c02afeacf7
commit 8fc938c924
9 changed files with 223 additions and 232 deletions

View File

@@ -7495,7 +7495,7 @@ js_AddAttributePart(JSContext *cx, JSBool isName, JSString *str, JSString *str2)
* Reallocating str (because we know it has no other references)
* requires purging any deflated string cached for it.
*/
js_PurgeDeflatedStringCache(cx->runtime, str);
cx->runtime->deflatedStringCache->remove(str);
}
str2->getCharsAndLength(chars2, len2);