mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +00:00
Bug 750547 - Remove unused dead branch in js_AtomizeString; r=Waldo
--HG-- extra : rebase_source : e063dae5c05d8da3687e7ce73465e74a49067ccb
This commit is contained in:
parent
2bc39950ac
commit
cd16f7c41d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user