From f4dfceb02118138dc68a61250dbfea0804e96883 Mon Sep 17 00:00:00 2001 From: Eugene Zelenko Date: Mon, 28 Mar 2016 18:54:58 +0000 Subject: [PATCH] Fix builds on Windows broken in r264598. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@264618 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Target/TargetCallingConv.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/llvm/Target/TargetCallingConv.h b/include/llvm/Target/TargetCallingConv.h index e906f1c83a3..c2b79fc6b43 100644 --- a/include/llvm/Target/TargetCallingConv.h +++ b/include/llvm/Target/TargetCallingConv.h @@ -18,7 +18,7 @@ #include "llvm/Support/DataTypes.h" #include "llvm/Support/MathExtras.h" #include -#include +#include 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::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