diff options
| author | Lioncash <mathew1800@gmail.com> | 2018-03-23 10:13:50 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2018-03-23 13:31:48 -0400 |
| commit | b11c237c43a43be445ad2c20b6b8a32a2d59eceb (patch) | |
| tree | 8334a49cebffdaba91cea4cedc889f4b3bdd788e /Source/Core | |
| parent | 03671a55344bb1ee33eb50d86a5f8cfc1c2e4aa1 (diff) | |
Arm64Emitter: Remove unnecessary V8_UINT64_C preprocessor macro
UINT64_C is provided via <cstdint>, so we can just use that instead.
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Common/Arm64Emitter.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/Core/Common/Arm64Emitter.cpp b/Source/Core/Common/Arm64Emitter.cpp index 139d90d40e..2430db8b0a 100644 --- a/Source/Core/Common/Arm64Emitter.cpp +++ b/Source/Core/Common/Arm64Emitter.cpp @@ -38,8 +38,6 @@ static uint64_t LargestPowerOf2Divisor(uint64_t value) return value & -(int64_t)value; } -#define V8_UINT64_C(x) ((uint64_t)(x)) - bool IsImmArithmetic(uint64_t input, u32* val, bool* shift) { if (input < 4096) @@ -151,7 +149,7 @@ bool IsImmLogical(uint64_t value, unsigned int width, unsigned int* n, unsigned clz_a = CountLeadingZeros(a, kXRegSizeInBits); int clz_c = CountLeadingZeros(c, kXRegSizeInBits); d = clz_a - clz_c; - mask = ((V8_UINT64_C(1) << d) - 1); + mask = ((UINT64_C(1) << d) - 1); out_n = 0; } else @@ -177,7 +175,7 @@ bool IsImmLogical(uint64_t value, unsigned int width, unsigned int* n, unsigned // the general case above, and set the N bit in the output. clz_a = CountLeadingZeros(a, kXRegSizeInBits); d = 64; - mask = ~V8_UINT64_C(0); + mask = ~UINT64_C(0); out_n = 1; } } |
