summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-10-16 00:20:14 +0000
committerDan Gohman <gohman@apple.com>2008-10-16 00:20:14 +0000
commit6613991eae1df0ab5b433e28e4b681279b451cdd (patch)
tree4f92550034a82e64f1f7292375fc41da0b1dc17f
parent986c9bbe594b69293e121eef14360f9552edd0e1 (diff)
downloadbcm5719-llvm-6613991eae1df0ab5b433e28e4b681279b451cdd.tar.gz
bcm5719-llvm-6613991eae1df0ab5b433e28e4b681279b451cdd.zip
Move the include of MachineLocation.h into MachineModuleInfo.h
because it declares a std::vector<MachineMove>, and strict concept checking requires the definition of MachineMove to be available. llvm-svn: 57617
-rw-r--r--llvm/include/llvm/CodeGen/MachineModuleInfo.h2
-rw-r--r--llvm/lib/CodeGen/MachineModuleInfo.cpp1
2 files changed, 1 insertions, 2 deletions
diff --git a/llvm/include/llvm/CodeGen/MachineModuleInfo.h b/llvm/include/llvm/CodeGen/MachineModuleInfo.h
index 9d98776f548..46bf7904c74 100644
--- a/llvm/include/llvm/CodeGen/MachineModuleInfo.h
+++ b/llvm/include/llvm/CodeGen/MachineModuleInfo.h
@@ -38,6 +38,7 @@
#include "llvm/ADT/UniqueVector.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/ADT/StringMap.h"
+#include "llvm/CodeGen/MachineLocation.h"
#include "llvm/GlobalValue.h"
#include "llvm/Pass.h"
@@ -50,7 +51,6 @@ class DebugInfoDesc;
class GlobalVariable;
class MachineBasicBlock;
class MachineFunction;
-class MachineMove;
class Module;
class PointerType;
class StructType;
diff --git a/llvm/lib/CodeGen/MachineModuleInfo.cpp b/llvm/lib/CodeGen/MachineModuleInfo.cpp
index a83da0a232a..4b64901bd4e 100644
--- a/llvm/lib/CodeGen/MachineModuleInfo.cpp
+++ b/llvm/lib/CodeGen/MachineModuleInfo.cpp
@@ -13,7 +13,6 @@
#include "llvm/Analysis/ValueTracking.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineFunction.h"
-#include "llvm/CodeGen/MachineLocation.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/Target/TargetInstrInfo.h"
#include "llvm/Target/TargetMachine.h"
OpenPOWER on IntegriCloud