summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/ScheduleDAG.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-11-20 01:41:34 +0000
committerDan Gohman <gohman@apple.com>2008-11-20 01:41:34 +0000
commit866b0348398ad482284cc2b474d19a4e6c261992 (patch)
tree61bb6ce0afce0cba9524c92dafac18735d2f0392 /llvm/lib/CodeGen/ScheduleDAG.cpp
parent6552d259d4bc71015f6bd4d23e3841e82037d70d (diff)
downloadbcm5719-llvm-866b0348398ad482284cc2b474d19a4e6c261992.tar.gz
bcm5719-llvm-866b0348398ad482284cc2b474d19a4e6c261992.zip
Add #include <climits> to get the definition of INT_MAX.
llvm-svn: 59692
Diffstat (limited to 'llvm/lib/CodeGen/ScheduleDAG.cpp')
-rw-r--r--llvm/lib/CodeGen/ScheduleDAG.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/ScheduleDAG.cpp b/llvm/lib/CodeGen/ScheduleDAG.cpp
index f6519063cde..cf9896b3fba 100644
--- a/llvm/lib/CodeGen/ScheduleDAG.cpp
+++ b/llvm/lib/CodeGen/ScheduleDAG.cpp
@@ -18,6 +18,7 @@
#include "llvm/Target/TargetInstrInfo.h"
#include "llvm/Target/TargetRegisterInfo.h"
#include "llvm/Support/Debug.h"
+#include <climits>
using namespace llvm;
ScheduleDAG::ScheduleDAG(SelectionDAG *dag, MachineBasicBlock *bb,
OpenPOWER on IntegriCloud