Get rooting analysis to pass jit-tests in the interpreter, bug 745742. r=billm
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user