Bug 608778: Rename JSString::MUTABLE to JSString::EXTENSIBLE. (r=jorendorff)

This commit is contained in:
Chris Leary
2010-11-03 15:34:00 -07:00
parent 940b589063
commit bf0c7e225b
4 changed files with 34 additions and 27 deletions

View File

@@ -498,7 +498,7 @@ js_AtomizeString(JSContext *cx, JSString *str, uintN flags)
* compartment lock.
*/
if (!needNewString && str->isFlat()) {
str->flatClearMutable();
str->flatClearExtensible();
key = str;
atoms.add(p, StringToInitialAtomEntry(key));
} else {