Merge MC -> JM.

This commit is contained in:
Brian Hackett
2011-07-28 18:10:31 -07:00
1127 changed files with 251667 additions and 15562 deletions

View File

@@ -231,7 +231,7 @@ EnumerateDenseArrayProperties(JSContext *cx, JSObject *obj, JSObject *pobj, uint
if (pobj->getArrayLength() > 0) {
size_t initlen = pobj->getDenseArrayInitializedLength();
Value *vp = pobj->getDenseArrayElements();
const Value *vp = pobj->getDenseArrayElements();
for (size_t i = 0; i < initlen; ++i, ++vp) {
if (!vp->isMagic(JS_ARRAY_HOLE)) {
/* Dense arrays never get so large that i would not fit into an integer id. */