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

This commit is contained in:
Chris Leary
2011-05-17 12:15:12 -07:00
parent fbd1a8db1f
commit d3a2ee665f
41 changed files with 403 additions and 292 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;
}