Use INT64_MAX instead of LLONG_MAX

llvm-svn: 276419
This commit is contained in:
Reid Kleckner 2016-07-22 14:11:58 +00:00
parent 2d8517303c
commit db10b5009d
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ namespace cflaa {
// We use UnknownOffset to represent pointer offsets that cannot be determined
// at compile time. Note that MemoryLocation::UnknownSize cannot be used here
// because we require a signed value.
enum : int64_t { UnknownOffset = LLONG_MAX };
enum : int64_t { UnknownOffset = INT64_MAX };
inline int64_t addOffset(int64_t LHS, int64_t RHS) {
if (LHS == UnknownOffset || RHS == UnknownOffset)