This commit is contained in:
Aleksey Shipilev 2016-05-06 14:44:09 +00:00
commit 9773289026

View File

@ -2472,9 +2472,10 @@ bool LibraryCallKit::inline_unsafe_access(const bool is_native_ptr, bool is_stor
bool requires_atomic_access = false; bool requires_atomic_access = false;
switch (kind) { switch (kind) {
case Relaxed: case Relaxed:
case Opaque:
requires_atomic_access = AlwaysAtomicAccesses; requires_atomic_access = AlwaysAtomicAccesses;
break; break;
case Opaque:
// Opaque accesses are atomic.
case Acquire: case Acquire:
case Release: case Release:
case Volatile: case Volatile: