From d9f635674ad28884ce828fa332fa5f03f71caddf 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. llvm-svn: 264618 --- llvm/include/llvm/Target/TargetCallingConv.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/include/llvm/Target/TargetCallingConv.h b/llvm/include/llvm/Target/TargetCallingConv.h index e906f1c..c2b79fc6 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 -#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 -- 2.7.4