summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-07-07 21:05:13 +0000
committerBill Wendling <isanbard@gmail.com>2011-07-07 21:05:13 +0000
commit4ae970b393f9518eb4a0c2e6b2c16ec3bee570d0 (patch)
treebaa9ab00c9c16887523c936a060a197e7a6e3f27 /include
parent03236be44af1d98eb8daa57e8eb8b7bdd7884523 (diff)
downloadllvm-4ae970b393f9518eb4a0c2e6b2c16ec3bee570d0.tar.gz
llvm-4ae970b393f9518eb4a0c2e6b2c16ec3bee570d0.tar.bz2
llvm-4ae970b393f9518eb4a0c2e6b2c16ec3bee570d0.tar.xz
Move a function out-of-line.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134640 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Target/TargetAsmInfo.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/llvm/Target/TargetAsmInfo.h b/include/llvm/Target/TargetAsmInfo.h
index cdd1672be6..44f23ad11a 100644
--- a/include/llvm/Target/TargetAsmInfo.h
+++ b/include/llvm/Target/TargetAsmInfo.h
@@ -20,6 +20,7 @@
#include "llvm/Target/TargetRegisterInfo.h"
namespace llvm {
+ template <typename T> class ArrayRef;
class MCSection;
class MCContext;
class MachineFunction;
@@ -84,10 +85,8 @@ public:
return TLOF->isFunctionEHFrameSymbolPrivate();
}
- int getCompactUnwindEncoding(const std::vector<MCCFIInstruction> &Instrs,
- int DataAlignmentFactor, bool IsEH) const {
- return TFI->getCompactUnwindEncoding(Instrs, DataAlignmentFactor, IsEH);
- }
+ int getCompactUnwindEncoding(ArrayRef<MCCFIInstruction> Instrs,
+ int DataAlignmentFactor, bool IsEH) const;
const unsigned *getCalleeSavedRegs(MachineFunction *MF = 0) const {
return TRI->getCalleeSavedRegs(MF);