Remove shape numbers and Shape::slotSpan, factor Shape getter/setter into BaseShape, bug 684505.

This commit is contained in:
Brian Hackett
2011-09-28 15:04:55 -07:00
parent 8a9ade4251
commit b18259bebf
70 changed files with 1774 additions and 3072 deletions

View File

@@ -351,7 +351,7 @@ JSObject::arrayGetOwnDataElement(JSContext *cx, size_t i, Value *vp)
if (!shape || !shape->isDataDescriptor())
vp->setMagic(JS_ARRAY_HOLE);
else
*vp = getSlot(shape->slot);
*vp = getSlot(shape->slot());
return true;
}