mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 05:15:45 +00:00
Fix bug 643839. r=brendan, a=clegnitto
This commit is contained in:
parent
2abd683814
commit
260c051d6d
@ -966,10 +966,8 @@ JSObject::putProperty(JSContext *cx, jsid id,
|
||||
if (hadSlot && !shape->hasSlot()) {
|
||||
if (oldSlot < shape->slotSpan)
|
||||
freeSlot(cx, oldSlot);
|
||||
#ifdef DEBUG
|
||||
else
|
||||
getSlotRef(oldSlot).setUndefined();
|
||||
#endif
|
||||
JS_ATOMIC_INCREMENT(&cx->runtime->propertyRemovals);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user