gecko-dev/js
André Bargull 2016a738e1 Bug 1630706 - Part 1: Allow non-shared ArrayBuffers for Atomics operations. r=jorendorff
The TypedArray data extraction had to be moved from `AtomicAccess` into the
actual operation to account for the case when a TypedArray using inline data
is moved by the GC due to side-effects triggered by type conversions within
the operation. Part 4 contains tests to cover this case.

Because the TypedArray data is no longer passed to the operation, we can't use
it anymore to determine the data type from the `SharedMem<T>` parameter. Instead
pass an `ArrayOps<T>` instance to the operation, so we can determine `T` within
the lambda function. (Templated lambda functions are only available starting
with C++20!) The compiler should be able to optimise away the stack allocation
for this instance, so this won't incur any performance costs.

Differential Revision: https://phabricator.services.mozilla.com/D76319
2020-06-11 12:21:36 +00:00
..
ductwork/debugger Bug 1613985 - Use default for equivalent-to-default constructors/destructors in js. r=jorendorff 2020-03-16 13:47:02 +00:00
examples
public Bug 1644258 - Simplify nursery size rounding r=sfink 2020-06-10 15:44:07 +00:00
rust Bug 1634459 - Simplify the wrapper used for rooting non-GC thing types r=jandem 2020-05-04 16:53:56 +00:00
src Bug 1630706 - Part 1: Allow non-shared ArrayBuffers for Atomics operations. r=jorendorff 2020-06-11 12:21:36 +00:00
xpconnect Backed out changeset 91d9671c44b5 (bug 1640445) as requested. CLOSED TREE 2020-06-09 19:57:58 +03:00
app.mozbuild Bug 1635764 - Move --with-system-icu and --with-intl-api to python configure. r=firefox-build-system-reviewers,rstewart 2020-05-29 21:29:52 +00:00
ffi.configure
moz.build
moz.configure Bug 1637332 - wasm simd x86, part 2 - implement it. r=rhunt 2020-06-05 06:39:32 +00:00
sub.configure Bug 1635764 - Move --with-system-icu and --with-intl-api to python configure. r=firefox-build-system-reviewers,rstewart 2020-05-29 21:29:52 +00:00