Bug 654301: Better interned string API. (r=Waldo)

This commit is contained in:
Chris Leary
2011-05-16 18:18:59 -07:00
parent 998f8cde8c
commit 216767724d
39 changed files with 401 additions and 290 deletions

View File

@@ -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;
}