bug 519476 - replacing JSSTRING_DEFLATED with scanning of the deflated cache. r=jwalden,dmandelin
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user