diff options
author | Evan Cheng <evan.cheng@apple.com> | 2011-07-18 22:32:12 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2011-07-18 22:32:12 +0000 |
commit | c8c3acfea439998da4fae895becce7c1468e3c63 (patch) | |
tree | 0c9ecea510aaa5440d1bc8017aaa657b8049ea9e /include/llvm/Target | |
parent | 2d28617de2b0b731c08d1af9e830f31e14ac75b4 (diff) | |
download | llvm-c8c3acfea439998da4fae895becce7c1468e3c63.tar.gz llvm-c8c3acfea439998da4fae895becce7c1468e3c63.tar.bz2 llvm-c8c3acfea439998da4fae895becce7c1468e3c63.tar.xz |
Eliminate TargetAsmInfo::getCompactUnwindEncoding. This get rid of the
use of TargetFrameLowering in TargetAsmInfo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135439 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target')
-rw-r--r-- | include/llvm/Target/TargetAsmInfo.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/llvm/Target/TargetAsmInfo.h b/include/llvm/Target/TargetAsmInfo.h index d04a5f3643..a4006a889b 100644 --- a/include/llvm/Target/TargetAsmInfo.h +++ b/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); - } }; } |