gecko-dev/js
André Bargull 5266c1f2af Bug 1788177 - Part 3: Enable ShouldInitFixedSlots for CreatePlainObject. r=jandem
Change `ShouldInitFixedSlots` so we can use it for `LNewPlainObject` by directly
passing the shape and the number of fixed slots.

All fixed slots for `LNewPlainObject` are initialised to `Undefined`, so we can
remove the first loop which iterates over all fixed slots. Between `MNewPlainObject`
and the `MStoreFixedSlot` instructions, we may have some (hoisted) constants and
a `MGuardShape` instruction, which we need to skip. The `MStoreFixedSlot` aren't
scattered over multiple blocks, so we can remove the `MGoto` handling. Also remove
the `MNop` handling, because we no longer emit `MNop` except for
`assertRecoveredOnBailoutResult()`. (We should probably rename `MNop` at this
point.)

Differential Revision: https://phabricator.services.mozilla.com/D156055
2022-09-05 12:21:54 +00:00
..
ductwork/debugger
examples
loader Bug 1775424 - Part 3: Fix GC hazards in ImportMetaResolveImpl. r=jonco 2022-08-30 18:42:54 +00:00
public Bug 1788882 - Check module status on entry to JS::ModuleLink API r=yulia 2022-09-05 09:43:09 +00:00
src Bug 1788177 - Part 3: Enable ShouldInitFixedSlots for CreatePlainObject. r=jandem 2022-09-05 12:21:54 +00:00
xpconnect Backed out changeset eb01cc5511fc (bug 1782450) for causing Bug 1787244. CLOSED TREE 2022-08-25 23:10:01 +03:00
app.mozbuild
ffi.configure
moz.build
moz.configure Bug 1784092 - Part 2: Enable change-array-by-copy build option by default on Nightly. r=mgaudet 2022-08-12 15:22:17 +00:00
sub.configure