diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-02-03 04:52:44 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-02-03 04:52:44 +0100 |
commit | 9c6a8450b3e96442035b84025b0dd13be3a9e5f8 (patch) | |
tree | 7ac81b5bf434c27dc4952364016536bbf19cc3b8 /dom/mathml | |
parent | bbbfd00f95d2d689aabe0087e597efab48442a18 (diff) | |
download | UXP-9c6a8450b3e96442035b84025b0dd13be3a9e5f8.tar UXP-9c6a8450b3e96442035b84025b0dd13be3a9e5f8.tar.gz UXP-9c6a8450b3e96442035b84025b0dd13be3a9e5f8.tar.lz UXP-9c6a8450b3e96442035b84025b0dd13be3a9e5f8.tar.xz UXP-9c6a8450b3e96442035b84025b0dd13be3a9e5f8.zip |
Issue #1382 - Remove invalid assertion.
There is flexibility in exactly the value the initialized length must
hold, i.e. if an array is completely empty, it is valid for the
initialized length to be any value between zero and the length of the
array, as long as the in-memory values below the initialized length have
been initialized with a hole value.
In the case of 0, the array is packed and the move operation would be a
nop, so simply convert the assert to a condition to save some cycles.
Diffstat (limited to 'dom/mathml')
0 files changed, 0 insertions, 0 deletions