Commit 586e4a89 authored by predrag.rudic's avatar predrag.rudic Committed by Commit bot

MIPS64: Fix NoBarrierAtomicValue.Construction test failure on big-endian

Reason for the failure is that the test enumeration is 32-bit wide, whereas
AtomicWord is 64-bit wide on 64-bit machines. On 64-big endian, this loads the random four bytes located after the 32-bit value that is tested.

BUG=
TEST=unittests/NoBarrierAtomicValue.Construction

Review-Url: https://codereview.chromium.org/2464703003
Cr-Commit-Position: refs/heads/master@{#40767}
parent bcd9aefb
......@@ -84,7 +84,7 @@ TEST(AtomicNumber, OperatorSubtractionAssignment) {
namespace {
enum TestFlag {
enum TestFlag : base::AtomicWord {
kA,
kB,
kC,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment