Clean up the MachineBasicBlock.h file, percolating #includes into this file.
authorChris Lattner <sabre@nondot.org>
Tue, 26 Oct 2004 15:35:58 +0000 (15:35 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 26 Oct 2004 15:35:58 +0000 (15:35 +0000)
Patch contributed by Morten Ofstad

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17251 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/RegAllocLocal.cpp
lib/CodeGen/VirtRegMap.cpp

index 2cf8e6327e44a44a718baf919890d204a658652a..7d7ee64305e6de57e76ae1d76ae65e14bbfb50c3 100644 (file)
@@ -25,6 +25,7 @@
 #include "llvm/Support/Debug.h"
 #include "llvm/ADT/DenseMap.h"
 #include "llvm/ADT/Statistic.h"
+#include <algorithm>
 using namespace llvm;
 
 namespace {
index 49cebe8c8a06dc37cafe9d946908d5d92ed2e23d..39707dbfec2b95dce06cc4b6ccf3edf8654169b5 100644 (file)
@@ -28,6 +28,7 @@
 #include "llvm/Support/Debug.h"
 #include "llvm/ADT/Statistic.h"
 #include "llvm/ADT/STLExtras.h"
+#include <algorithm>
 using namespace llvm;
 
 namespace {