diff options
author | Dan Gohman <gohman@apple.com> | 2008-10-16 00:20:14 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-10-16 00:20:14 +0000 |
commit | 7ddcadc7ee18b8e4edd3524d2a24837688880233 (patch) | |
tree | 33fa2ea67d9286e2724bf36ebcec99c701dc2e7c | |
parent | 254a8860570b2624752b079b4a3e37b0942a888a (diff) |
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.h | 2 | ||||
-rw-r--r-- | lib/CodeGen/MachineModuleInfo.cpp | 1 |
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" |