summaryrefslogtreecommitdiff
path: root/compiler/optimizing/code_generator.h
diff options
context:
space:
mode:
author Ryan Prichard <rprichard@google.com> 2024-04-12 01:35:39 -0700
committer Ryan Prichard <rprichard@google.com> 2024-04-12 20:50:35 +0000
commitb66eb3bc8793fdde9675742f3d7851422963adfb (patch)
treec8fc5dcab8bee36ac048fb51c1e86f20994d2658 /compiler/optimizing/code_generator.h
parent876dc7650f6c705e78641329b0974629b34af014 (diff)
Avoid comparing std::memory_order_relaxed with 0
Starting in C++20, std::memory_order becomes a scoped enum class, so it cannot be compared to an integer, which happens when ASM_DEFINE tries to detect if std::memory_order_relaxed is negative. Cast the enumerator to its underlying type. Bug: 311052584 Test: treehugger Change-Id: Ic217c54628f6b13a86dcb83363690a87f0fc40e3
Diffstat (limited to 'compiler/optimizing/code_generator.h')
0 files changed, 0 insertions, 0 deletions