mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-27 20:25:44 +00:00
Bug 1530958 - Fix an issue with native groups for unboxed objects. r=jandem
--HG-- extra : amend_source : 3d3dc1b7604345304db269b8289aa6a610aa7d80
This commit is contained in:
parent
d51a0249ac
commit
67fc2c3079
@ -716,12 +716,6 @@ bool UnboxedLayout::makeNativeGroup(JSContext* cx, ObjectGroup* group) {
|
||||
if (nativeGroup->unknownProperties(sweepNative)) {
|
||||
break;
|
||||
}
|
||||
|
||||
HeapTypeSet* nativeProperty =
|
||||
nativeGroup->maybeGetProperty(sweepNative, id);
|
||||
if (nativeProperty && nativeProperty->canSetDefinite(i)) {
|
||||
nativeProperty->setDefinite(i);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
// If we skip, though, the new group had better agree.
|
||||
|
Loading…
Reference in New Issue
Block a user