Skip to content

Commit

Permalink
Fix builds on Windows broken in r264598.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@264618 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
EugeneZelenko committed Mar 28, 2016
1 parent 71de620 commit f4dfceb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/llvm/Target/TargetCallingConv.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include "llvm/Support/DataTypes.h"
#include "llvm/Support/MathExtras.h"
#include <string>
#include <limits>
#include <climits>

namespace llvm {

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f4dfceb

Please sign in to comment.