summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/include/llvm/Target/TargetAsmInfo.h8
-rw-r--r--llvm/lib/Target/TargetAsmInfo.cpp3
2 files changed, 0 insertions, 11 deletions
diff --git a/llvm/include/llvm/Target/TargetAsmInfo.h b/llvm/include/llvm/Target/TargetAsmInfo.h
index d04a5f3643b..a4006a889b5 100644
--- a/llvm/include/llvm/Target/TargetAsmInfo.h
+++ b/llvm/include/llvm/Target/TargetAsmInfo.h
@@ -15,7 +15,6 @@
#define LLVM_TARGET_TARGETASMINFO_H
#include "llvm/Target/TargetLoweringObjectFile.h"
-#include "llvm/Target/TargetFrameLowering.h"
#include "llvm/Target/TargetRegisterInfo.h"
namespace llvm {
@@ -25,7 +24,6 @@ namespace llvm {
class TargetLoweringObjectFile;
class TargetAsmInfo {
- const TargetFrameLowering *TFI;
const TargetLoweringObjectFile *TLOF;
public:
@@ -62,12 +60,6 @@ public:
bool isFunctionEHFrameSymbolPrivate() const {
return TLOF->isFunctionEHFrameSymbolPrivate();
}
-
- int getCompactUnwindEncoding(ArrayRef<MCCFIInstruction> Instrs,
- int DataAlignmentFactor,
- bool IsEH) const {
- return TFI->getCompactUnwindEncoding(Instrs, DataAlignmentFactor, IsEH);
- }
};
}
diff --git a/llvm/lib/Target/TargetAsmInfo.cpp b/llvm/lib/Target/TargetAsmInfo.cpp
index 3320bfbfa72..94f56f63ed3 100644
--- a/llvm/lib/Target/TargetAsmInfo.cpp
+++ b/llvm/lib/Target/TargetAsmInfo.cpp
@@ -8,14 +8,11 @@
//===----------------------------------------------------------------------===//
#include "llvm/Target/TargetAsmInfo.h"
-#include "llvm/Target/TargetData.h"
#include "llvm/Target/TargetLowering.h"
#include "llvm/Target/TargetLoweringObjectFile.h"
#include "llvm/Target/TargetMachine.h"
-#include "llvm/Target/TargetRegisterInfo.h"
using namespace llvm;
TargetAsmInfo::TargetAsmInfo(const TargetMachine &TM) {
TLOF = &TM.getTargetLowering()->getObjFileLowering();
- TFI = TM.getFrameLowering();
}
OpenPOWER on IntegriCloud