summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/TargetFrameLoweringImpl.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-10-14 07:22:08 +0000
committerEric Christopher <echristo@gmail.com>2014-10-14 07:22:08 +0000
commit307c2cb26fc3423dc6dd2fdd25c90141c078cfc7 (patch)
tree378ee3b6d5560f4bc83e7d9428308cc2750031c5 /llvm/lib/CodeGen/TargetFrameLoweringImpl.cpp
parent606218020363f0d618bf17fdd70efe925c57c86d (diff)
downloadbcm5719-llvm-307c2cb26fc3423dc6dd2fdd25c90141c078cfc7.tar.gz
bcm5719-llvm-307c2cb26fc3423dc6dd2fdd25c90141c078cfc7.zip
Remove unnecessary TargetMachine.h includes.
llvm-svn: 219672
Diffstat (limited to 'llvm/lib/CodeGen/TargetFrameLoweringImpl.cpp')
-rw-r--r--llvm/lib/CodeGen/TargetFrameLoweringImpl.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/TargetFrameLoweringImpl.cpp b/llvm/lib/CodeGen/TargetFrameLoweringImpl.cpp
index 9afaebb864a..1557d10238e 100644
--- a/llvm/lib/CodeGen/TargetFrameLoweringImpl.cpp
+++ b/llvm/lib/CodeGen/TargetFrameLoweringImpl.cpp
@@ -14,7 +14,6 @@
#include "llvm/Target/TargetFrameLowering.h"
#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/CodeGen/MachineFunction.h"
-#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetRegisterInfo.h"
#include "llvm/Target/TargetSubtargetInfo.h"
#include <cstdlib>
@@ -27,7 +26,7 @@ TargetFrameLowering::~TargetFrameLowering() {
/// the stack frame of the specified index. This is the default implementation
/// which is overridden for some targets.
int TargetFrameLowering::getFrameIndexOffset(const MachineFunction &MF,
- int FI) const {
+ int FI) const {
const MachineFrameInfo *MFI = MF.getFrameInfo();
return MFI->getObjectOffset(FI) + MFI->getStackSize() -
getOffsetOfLocalArea() + MFI->getOffsetAdjustment();
OpenPOWER on IntegriCloud