aboutsummaryrefslogtreecommitdiffstats
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
commit2e23d13879e88b0ac24bf3392dd7cd475b2400c3 (patch)
tree33fa2ea67d9286e2724bf36ebcec99c701dc2e7c
parent611c36c226adfd2b4a3297e240be3b1e19e48e5f (diff)
downloadexternal_llvm-2e23d13879e88b0ac24bf3392dd7cd475b2400c3.tar.gz
external_llvm-2e23d13879e88b0ac24bf3392dd7cd475b2400c3.tar.bz2
external_llvm-2e23d13879e88b0ac24bf3392dd7cd475b2400c3.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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57617 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/CodeGen/MachineModuleInfo.h2
-rw-r--r--lib/CodeGen/MachineModuleInfo.cpp1
2 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/MachineModuleInfo.h b/include/llvm/CodeGen/MachineModuleInfo.h
index 9d98776f54..46bf7904c7 100644
--- a/include/llvm/CodeGen/MachineModuleInfo.h
+++ b/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/lib/CodeGen/MachineModuleInfo.cpp b/lib/CodeGen/MachineModuleInfo.cpp
index a83da0a232..4b64901bd4 100644
--- a/lib/CodeGen/MachineModuleInfo.cpp
+++ b/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"