Backout bug 670205 and bug 673451 because of build bustage

This commit is contained in:
Ehsan Akhgari
2011-07-26 14:41:43 -04:00
parent 1350eb6cfe
commit b98b3d81cc
34 changed files with 273 additions and 233 deletions

View File

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