summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-03-21 23:51:57 +0000
committerDan Gohman <gohman@apple.com>2008-03-21 23:51:57 +0000
commit9988569af835578c5abd1ac0ad31a0658d1aa58e (patch)
tree85a4b9682b795f4b7079ff176a15bf050045d0e4 /llvm/lib/CodeGen
parent026eed69e7ff8dce5557a0c95b67dad2ca68180d (diff)
downloadbcm5719-llvm-9988569af835578c5abd1ac0ad31a0658d1aa58e.tar.gz
bcm5719-llvm-9988569af835578c5abd1ac0ad31a0658d1aa58e.zip
Don't include <map> in Pass.h, which doesn't need it. This requires
adding <map> to many files that actually do need it. llvm-svn: 48667
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/ELFWriter.h1
-rw-r--r--llvm/lib/CodeGen/MachOWriter.h1
-rw-r--r--llvm/lib/CodeGen/RegAllocSimple.cpp1
3 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/ELFWriter.h b/llvm/lib/CodeGen/ELFWriter.h
index 5ea421eb6de..be3b39b476c 100644
--- a/llvm/lib/CodeGen/ELFWriter.h
+++ b/llvm/lib/CodeGen/ELFWriter.h
@@ -16,6 +16,7 @@
#include "llvm/CodeGen/MachineFunctionPass.h"
#include <list>
+#include <map>
namespace llvm {
class GlobalVariable;
diff --git a/llvm/lib/CodeGen/MachOWriter.h b/llvm/lib/CodeGen/MachOWriter.h
index 39d73eeb4a9..44fa7d4d449 100644
--- a/llvm/lib/CodeGen/MachOWriter.h
+++ b/llvm/lib/CodeGen/MachOWriter.h
@@ -21,6 +21,7 @@
#include "llvm/Target/TargetData.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetMachOWriterInfo.h"
+#include <map>
namespace llvm {
class GlobalVariable;
diff --git a/llvm/lib/CodeGen/RegAllocSimple.cpp b/llvm/lib/CodeGen/RegAllocSimple.cpp
index d65136a6164..081edd8d5eb 100644
--- a/llvm/lib/CodeGen/RegAllocSimple.cpp
+++ b/llvm/lib/CodeGen/RegAllocSimple.cpp
@@ -27,6 +27,7 @@
#include "llvm/Support/Compiler.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/ADT/STLExtras.h"
+#include <map>
using namespace llvm;
STATISTIC(NumStores, "Number of stores added");
OpenPOWER on IntegriCloud