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

This commit is contained in:
Terrence Cole
2012-04-30 16:20:10 -07:00
parent 177379ca79
commit d30a5c6246

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)