[llvm] r264618 - Fix builds on Windows broken in r264598.
Eugene Zelenko via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 28 11:54:58 PDT 2016
Author: eugenezelenko
Date: Mon Mar 28 13:54:58 2016
New Revision: 264618
URL: http://llvm.org/viewvc/llvm-project?rev=264618&view=rev
Log:
Fix builds on Windows broken in r264598.
Modified:
llvm/trunk/include/llvm/Target/TargetCallingConv.h
Modified: llvm/trunk/include/llvm/Target/TargetCallingConv.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetCallingConv.h?rev=264618&r1=264617&r2=264618&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Target/TargetCallingConv.h (original)
+++ llvm/trunk/include/llvm/Target/TargetCallingConv.h Mon Mar 28 13:54:58 2016
@@ -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
More information about the llvm-commits
mailing list