Bug 654301: Better interned string API, take 2. (r=Waldo)
This commit is contained in:
@@ -278,7 +278,7 @@ BigIndexToId(JSContext *cx, JSObject *obj, jsuint index, JSBool createAtom,
|
||||
return JS_TRUE;
|
||||
}
|
||||
} else {
|
||||
atom = js_AtomizeChars(cx, start, JS_ARRAY_END(buf) - start, 0);
|
||||
atom = js_AtomizeChars(cx, start, JS_ARRAY_END(buf) - start);
|
||||
if (!atom)
|
||||
return JS_FALSE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user