Bug 750547 - Remove unused dead branch in js_AtomizeString; r=Waldo
This commit is contained in:
@@ -396,9 +396,6 @@ js_AtomizeString(JSContext *cx, JSString *str, InternBehavior ib)
|
||||
return &atom;
|
||||
}
|
||||
|
||||
if (str->isAtom())
|
||||
return &str->asAtom();
|
||||
|
||||
size_t length = str->length();
|
||||
const jschar *chars = str->getChars(cx);
|
||||
if (!chars)
|
||||
|
||||
Reference in New Issue
Block a user