Move the include of MachineLocation.h into MachineModuleInfo.h
authorDan Gohman <gohman@apple.com>
Thu, 16 Oct 2008 00:20:14 +0000 (00:20 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 16 Oct 2008 00:20:14 +0000 (00:20 +0000)
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

include/llvm/CodeGen/MachineModuleInfo.h
lib/CodeGen/MachineModuleInfo.cpp

index 9d98776f548d38249eab64dcc74f320b4a3d930c..46bf7904c74d214a3e55c6723133c1f3fbc1f3e0 100644 (file)
@@ -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;
index a83da0a232a09faaa6492caa262c844655e64abb..4b64901bd4e2d18b481a310fc93e6a5c36cd40f8 100644 (file)
@@ -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"