projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Support: Write ScaledNumbers::getRounded()
[oota-llvm.git]
/
include
/
llvm
/
Support
/
Endian.h
diff --git
a/include/llvm/Support/Endian.h
b/include/llvm/Support/Endian.h
index d394974ad3bb97e055846453b3a62c576a3742cf..455d0fc241f2184a4677349684b48091646ab6d0 100644
(file)
--- a/
include/llvm/Support/Endian.h
+++ b/
include/llvm/Support/Endian.h
@@
-38,7
+38,7
@@
namespace endian {
template<typename value_type, endianness endian>
inline value_type byte_swap(value_type value) {
if (endian != native && sys::IsBigEndianHost != (endian == big))
-
return sys::getSwappedBytes
(value);
+
sys::swapByteOrder
(value);
return value;
}