diff options
author | Michaël Zasso <targos@protonmail.com> | 2021-02-24 14:47:06 +0100 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2021-02-25 00:14:47 +0100 |
commit | c5ff019a4e93891106859cb272ded1197a92c7e5 (patch) | |
tree | caf6b7e50b0ceac09878ac4402d9f725b8685dd7 /deps/v8/src/base/atomicops_internals_portable.h | |
parent | 67dc2bf2084b125dec43689874d237d125562cdf (diff) | |
download | node-new-c5ff019a4e93891106859cb272ded1197a92c7e5.tar.gz |
deps: update V8 to 8.9.255.19
PR-URL: https://github.com/nodejs/node/pull/37330
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'deps/v8/src/base/atomicops_internals_portable.h')
-rw-r--r-- | deps/v8/src/base/atomicops_internals_portable.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/deps/v8/src/base/atomicops_internals_portable.h b/deps/v8/src/base/atomicops_internals_portable.h index 9abaf17c06..ac162e2a82 100644 --- a/deps/v8/src/base/atomicops_internals_portable.h +++ b/deps/v8/src/base/atomicops_internals_portable.h @@ -124,6 +124,10 @@ inline void Relaxed_Store(volatile Atomic32* ptr, Atomic32 value) { __atomic_store_n(ptr, value, __ATOMIC_RELAXED); } +inline void Release_Store(volatile Atomic8* ptr, Atomic8 value) { + __atomic_store_n(ptr, value, __ATOMIC_RELEASE); +} + inline void Release_Store(volatile Atomic32* ptr, Atomic32 value) { __atomic_store_n(ptr, value, __ATOMIC_RELEASE); } @@ -140,6 +144,10 @@ inline Atomic32 Relaxed_Load(volatile const Atomic32* ptr) { return __atomic_load_n(ptr, __ATOMIC_RELAXED); } +inline Atomic8 Acquire_Load(volatile const Atomic8* ptr) { + return __atomic_load_n(ptr, __ATOMIC_ACQUIRE); +} + inline Atomic32 Acquire_Load(volatile const Atomic32* ptr) { return __atomic_load_n(ptr, __ATOMIC_ACQUIRE); } |