Bug 521423. Make JSString 4 words instead of 2; make substring() and company never have to copy. r=brendan
This commit is contained in:
@@ -748,7 +748,7 @@ js_AtomizeString(JSContext *cx, JSString *str, uintN flags)
|
||||
if (!key)
|
||||
return NULL;
|
||||
}
|
||||
} else {
|
||||
} else {
|
||||
JS_ASSERT(str->isDependent());
|
||||
if (!js_UndependString(cx, str))
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user