mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 15:23:51 +00:00
5266c1f2af
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 |
||
---|---|---|
.. | ||
ductwork/debugger | ||
examples | ||
loader | ||
public | ||
src | ||
xpconnect | ||
app.mozbuild | ||
ffi.configure | ||
moz.build | ||
moz.configure | ||
sub.configure |