projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e57016a
)
fix this harder.
author
Chris Lattner
<sabre@nondot.org>
Tue, 23 Nov 2010 04:26:12 +0000
(
04:26
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 23 Nov 2010 04:26:12 +0000
(
04:26
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119994
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/System/SwapByteOrder.h
patch
|
blob
|
history
diff --git
a/include/llvm/System/SwapByteOrder.h
b/include/llvm/System/SwapByteOrder.h
index fb033a52ef7ed828df43be2d32d5d21b8e8b7934..70a6f4d65ab2f0093fb33e0d3c254094817f0690 100644
(file)
--- a/
include/llvm/System/SwapByteOrder.h
+++ b/
include/llvm/System/SwapByteOrder.h
@@
-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(value));
- uint32_t Lo = SwapByteOrder(uint32_t(value >> 32));
+ uint64_t Hi = SwapByteOrder
_32
(uint32_t(value));
+ uint32_t Lo = SwapByteOrder
_32
(uint32_t(value >> 32));
return (Hi << 32) | Lo;
#endif
}