From 7ddcadc7ee18b8e4edd3524d2a24837688880233 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 16 Oct 2008 00:20:14 +0000 Subject: [PATCH] Move the include of MachineLocation.h into MachineModuleInfo.h because it declares a std::vector, 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 | 2 +- lib/CodeGen/MachineModuleInfo.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/include/llvm/CodeGen/MachineModuleInfo.h b/include/llvm/CodeGen/MachineModuleInfo.h index 9d98776f548..46bf7904c74 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 a83da0a232a..4b64901bd4e 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"