| Index: runtime/platform/utils_macos.h
|
| diff --git a/runtime/platform/utils_macos.h b/runtime/platform/utils_macos.h
|
| index 2a8e39f6ee2a76212c50bbbe3c859aefc085cd14..052352d81a4d2c8d19527330773342534be1128e 100644
|
| --- a/runtime/platform/utils_macos.h
|
| +++ b/runtime/platform/utils_macos.h
|
| @@ -19,7 +19,6 @@ inline int Utils::CountLeadingZeros(uword x) {
|
| #endif
|
| }
|
|
|
| -
|
| inline int Utils::CountTrailingZeros(uword x) {
|
| #if defined(ARCH_IS_32_BIT)
|
| return __builtin_ctzl(x);
|
| @@ -30,32 +29,26 @@ inline int Utils::CountTrailingZeros(uword x) {
|
| #endif
|
| }
|
|
|
| -
|
| inline uint16_t Utils::HostToBigEndian16(uint16_t value) {
|
| return OSSwapHostToBigInt16(value);
|
| }
|
|
|
| -
|
| inline uint32_t Utils::HostToBigEndian32(uint32_t value) {
|
| return OSSwapHostToBigInt32(value);
|
| }
|
|
|
| -
|
| inline uint64_t Utils::HostToBigEndian64(uint64_t value) {
|
| return OSSwapHostToBigInt64(value);
|
| }
|
|
|
| -
|
| inline uint16_t Utils::HostToLittleEndian16(uint16_t value) {
|
| return OSSwapHostToLittleInt16(value);
|
| }
|
|
|
| -
|
| inline uint32_t Utils::HostToLittleEndian32(uint32_t value) {
|
| return OSSwapHostToLittleInt32(value);
|
| }
|
|
|
| -
|
| inline uint64_t Utils::HostToLittleEndian64(uint64_t value) {
|
| return OSSwapHostToLittleInt64(value);
|
| }
|
|
|