mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 23:35:34 +00:00
Bug 1624236 - 1624236: Removed 'else after 'break' in js/src/vm/Shape.cpp r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D68113 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
9cb24081dd
commit
d1bfb4ded2
@ -1427,11 +1427,10 @@ bool NativeObject::rollbackProperties(JSContext* cx, HandleNativeObject obj,
|
||||
if (obj->lastProperty()->isEmptyShape()) {
|
||||
MOZ_ASSERT(slotSpan == 0);
|
||||
break;
|
||||
} else {
|
||||
uint32_t slot = obj->lastProperty()->slot();
|
||||
if (slot < slotSpan) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
uint32_t slot = obj->lastProperty()->slot();
|
||||
if (slot < slotSpan) {
|
||||
break;
|
||||
}
|
||||
if (!NativeObject::removeProperty(cx, obj, obj->lastProperty()->propid())) {
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user