Get rooting analysis to pass jit-tests in the interpreter, bug 745742. r=billm

This commit is contained in:
Brian Hackett
2012-04-30 17:10:30 -07:00
parent 1bbc391bfd
commit 09f807c5af
75 changed files with 1290 additions and 868 deletions

View File

@@ -340,6 +340,8 @@ AtomizeInline(JSContext *cx, const jschar **pchars, size_t length,
JSFixedString *key;
SkipRoot skip(cx, &chars);
if (ocb == TakeCharOwnership) {
key = js_NewString(cx, const_cast<jschar *>(chars), length);
if (!key)