Fix builds on Windows broken in r264598.

llvm-svn: 264618
This commit is contained in:
Eugene Zelenko 2016-03-28 18:54:58 +00:00
parent 316af8de48
commit d9f635674a
1 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@
#include "llvm/Support/DataTypes.h"
#include "llvm/Support/MathExtras.h"
#include <string>
#include <limits>
#include <climits>
namespace llvm {
@ -142,7 +142,7 @@ namespace ISD {
/// Index original Function's argument.
unsigned OrigArgIndex;
/// Sentinel value for implicit machine-level input arguments.
static const unsigned NoArgIndex = std::numeric_limits<uint32_t>::max();
static const unsigned NoArgIndex = UINT_MAX;
/// Offset in bytes of current input value relative to the beginning of
/// original argument. E.g. if argument was splitted into four 32 bit