Remove @@species from InitializeTypedArrayFromTypedArray
Categories
(Core :: JavaScript Engine, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox104 | --- | fixed |
People
(Reporter: yulia, Assigned: anba)
References
(Blocks 1 open bug)
Details
Attachments
(6 files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
Bug 1761989 - Part 4: Remove unused nonDefaultProto argument from maybeCreateArrayBuffer. r=mgaudet!
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Implement the changes from https://github.com/tc39/ecma262/issues/2677 and
https://github.com/tc39/ecma262/pull/2719.
The next patches will perform further clean-ups.
Updated•3 years ago
|
Assignee | ||
Comment 2•3 years ago
|
||
Depends on D152262
Assignee | ||
Comment 3•3 years ago
|
||
The caller is always passing %ArrayBuffer%
, so we can simplify this code a bit.
Depends on D152263
Assignee | ||
Comment 4•3 years ago
|
||
All callers are passing nullptr
for nonDefaultProto
.
Depends on D152264
Assignee | ||
Comment 5•3 years ago
|
||
Remove AllocateArrayBuffer now that it's just an alias for maybeCreateArrayBuffer
.
Also replace the no longer needed detached check with a release assertion.
Depends on D152265
Assignee | ||
Comment 6•3 years ago
|
||
The ArrayBuffer was only reified for the ArrayBuffer constructor optimisation
in GetBufferSpeciesConstructor
. GetBufferSpeciesConstructor
was removed in
part 1, so we no longer need this code, too.
Depends on D152266
Comment 8•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/c654e89d5a1a
https://hg.mozilla.org/mozilla-central/rev/c9020a758adb
https://hg.mozilla.org/mozilla-central/rev/9b6d400760b4
https://hg.mozilla.org/mozilla-central/rev/bc53a3e681f8
https://hg.mozilla.org/mozilla-central/rev/1e432ca231d6
https://hg.mozilla.org/mozilla-central/rev/b3d4c6ee892f
Description
•