diff options
author | Artyom Skrobov <Artyom.Skrobov@arm.com> | 2014-06-14 11:36:01 +0000 |
---|---|---|
committer | Artyom Skrobov <Artyom.Skrobov@arm.com> | 2014-06-14 11:36:01 +0000 |
commit | ef5e867f16c9487b9279a26dd70bc34ff871317d (patch) | |
tree | d1ed262665b4a17a9a317a235f2d30398eb5e2a4 /llvm/lib/ProfileData/InstrProfReader.cpp | |
parent | 06aebc4d69a9ffd5eedb9d76ebb9117335f55eb3 (diff) | |
download | bcm5719-llvm-ef5e867f16c9487b9279a26dd70bc34ff871317d.tar.gz bcm5719-llvm-ef5e867f16c9487b9279a26dd70bc34ff871317d.zip |
Renaming SwapByteOrder() to getSwappedBytes()
The next commit will add swapByteOrder(), acting in-place
llvm-svn: 210973
Diffstat (limited to 'llvm/lib/ProfileData/InstrProfReader.cpp')
-rw-r--r-- | llvm/lib/ProfileData/InstrProfReader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ProfileData/InstrProfReader.cpp b/llvm/lib/ProfileData/InstrProfReader.cpp index c7809b8b8c6..d0493d34c20 100644 --- a/llvm/lib/ProfileData/InstrProfReader.cpp +++ b/llvm/lib/ProfileData/InstrProfReader.cpp @@ -158,7 +158,7 @@ bool RawInstrProfReader<IntPtrT>::hasFormat(const MemoryBuffer &DataBuffer) { uint64_t Magic = *reinterpret_cast<const uint64_t *>(DataBuffer.getBufferStart()); return getRawMagic<IntPtrT>() == Magic || - sys::SwapByteOrder(getRawMagic<IntPtrT>()) == Magic; + sys::getSwappedBytes(getRawMagic<IntPtrT>()) == Magic; } template <class IntPtrT> |