зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1489601 - fix thinko in AtomicOperations-arm64-msvc.h; r=lth
This commit is contained in:
Родитель
aab00dc35b
Коммит
9a3c7abf0a
|
@ -61,7 +61,9 @@ inline void
|
|||
js::jit::AtomicOperations::fenceSeqCst()
|
||||
{
|
||||
_ReadWriteBarrier();
|
||||
MemoryBarrier();
|
||||
// MemoryBarrier is defined in winnt.h, which we don't want to include here.
|
||||
// This expression is the expansion of MemoryBarrier.
|
||||
__dmb(_ARM64_BARRIER_SY);
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
|
|
Загрузка…
Ссылка в новой задаче