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

This commit is contained in:
Igor Bukanov
2010-03-13 10:01:09 +03:00
parent fec0248443
commit fa0c2d30f2
9 changed files with 216 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);