Atomics don't support wrapped TypedArrays
Categories
(Core :: JavaScript: Standard Library, enhancement, P3)
Tracking
()
People
(Reporter: anba, Assigned: anba)
Details
Attachments
(7 files, 7 obsolete files)
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
Bug 1355554 - Part 2: Add step comments and update some variable names to follow spec. r=jorendorff!
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review |
Updated•7 years ago
|
| Assignee | ||
Comment 1•6 years ago
|
||
Taking this bug, so I can use it for an Atomics overhaul to improve spec-compatibility.
| Assignee | ||
Comment 2•6 years ago
|
||
| Assignee | ||
Comment 3•6 years ago
|
||
This is a bit faster, because it only requires a range check and not a
"is this double an integer" check.
Depends on D24074
| Assignee | ||
Comment 4•6 years ago
|
||
Variable names were not updated to follow the spec when the spec uses single
letter names, for example if the current name is "timeout", but the spec uses
"t", the name was left unchanged for better code readability.
Depends on D24075
| Assignee | ||
Comment 5•6 years ago
|
||
These methods were previously used for atomic operations on Uint8ClampedArray, but
this feature was removed some time ago.
Depends on D24076
| Assignee | ||
Comment 6•6 years ago
|
||
And update Atomics.exchange to use AtomicReadModifyWrite per spec.
Depends on D24077
| Assignee | ||
Comment 7•6 years ago
|
||
Depends on D24078
| Assignee | ||
Comment 8•6 years ago
|
||
GetSharedTypedArrayisValidateSharedIntegerTypedArrayin the spec- and
GetTypedArrayIndexisValidateAtomicAccess.
Depends on D24079
| Assignee | ||
Comment 9•6 years ago
|
||
Depends on D24080
| Assignee | ||
Comment 10•6 years ago
|
||
Depends on D24081
| Assignee | ||
Comment 11•6 years ago
|
||
Depends on D24082
| Assignee | ||
Comment 12•6 years ago
|
||
Depends on D24083
| Assignee | ||
Comment 13•6 years ago
|
||
Depends on D24084
| Assignee | ||
Comment 14•6 years ago
|
||
Depends on D24085
| Assignee | ||
Comment 15•6 years ago
|
||
The switch-statements in CompareExchange, atomics_load, atomics_store, and
AtomicReadModifyWrite repeat the same type casts for each scalar type. Add
helper functions to reduce this code duplication.
Depends on D24086
| Assignee | ||
Comment 17•6 years ago
|
||
The patches need to be rewritten, because they no longer apply after the BigInt integration for Atomics.
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Comment 18•5 years ago
|
||
Comment 19•5 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/f81d65748d1f
https://hg.mozilla.org/mozilla-central/rev/986b2ba8582f
https://hg.mozilla.org/mozilla-central/rev/bd174ee04205
https://hg.mozilla.org/mozilla-central/rev/4f297a91c4cb
https://hg.mozilla.org/mozilla-central/rev/5ef0fd33df8f
https://hg.mozilla.org/mozilla-central/rev/646b52cf410f
https://hg.mozilla.org/mozilla-central/rev/b4607c8f4661
Updated•5 years ago
|
Description
•