mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-01 17:28:21 +00:00
fix a bug I introduced on the other side of the #ifdef
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119993 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3afc385042
commit
e57016ab1f
@ -62,8 +62,8 @@ inline uint64_t SwapByteOrder_64(uint64_t value) {
|
||||
#elif defined(_MSC_VER) && !defined(_DEBUG)
|
||||
return _byteswap_uint64(value);
|
||||
#else
|
||||
uint64_t Hi = SwapByteOrder<uint32_t>(uint32_t(value));
|
||||
uint32_t Lo = SwapByteOrder<uint32_t>(uint32_t(value >> 32));
|
||||
uint64_t Hi = SwapByteOrder(uint32_t(value));
|
||||
uint32_t Lo = SwapByteOrder(uint32_t(value >> 32));
|
||||
return (Hi << 32) | Lo;
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user