summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
authorEugene Zelenko <eugene.zelenko@gmail.com>2016-03-28 18:54:58 +0000
committerEugene Zelenko <eugene.zelenko@gmail.com>2016-03-28 18:54:58 +0000
commitd9f635674ad28884ce828fa332fa5f03f71caddf (patch)
tree5b986f9f67a1eddc811dbfd9e601edeadf500b14 /llvm/include
parent316af8de4800fa951b8ee67379345be39f4aaf05 (diff)
downloadbcm5719-llvm-d9f635674ad28884ce828fa332fa5f03f71caddf.tar.gz
bcm5719-llvm-d9f635674ad28884ce828fa332fa5f03f71caddf.zip
Fix builds on Windows broken in r264598.
llvm-svn: 264618
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/Target/TargetCallingConv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/Target/TargetCallingConv.h b/llvm/include/llvm/Target/TargetCallingConv.h
index e906f1c83a3..c2b79fc6b43 100644
--- a/llvm/include/llvm/Target/TargetCallingConv.h
+++ b/llvm/include/llvm/Target/TargetCallingConv.h
@@ -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
OpenPOWER on IntegriCloud