Bug 750547 - Remove unused dead branch in js_AtomizeString; r=Waldo

--HG--
extra : rebase_source : e063dae5c05d8da3687e7ce73465e74a49067ccb
This commit is contained in:
Terrence Cole 2012-04-30 16:20:10 -07:00
parent 2bc39950ac
commit cd16f7c41d

View File

@ -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)