diff options
author | Evan Cheng <evan.cheng@apple.com> | 2010-05-22 01:47:14 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2010-05-22 01:47:14 +0000 |
commit | 168ced94d84929f7cdb5d61c67ed79e7275f0ec6 (patch) | |
tree | a9b6a2f1562ee40a1a93d1ab2e9646610f8f1c3d /llvm/lib/Target/XCore/XCoreInstrInfo.h | |
parent | bd9485db634dd2341f6e766e99bff758793d0d42 (diff) | |
download | bcm5719-llvm-168ced94d84929f7cdb5d61c67ed79e7275f0ec6.tar.gz bcm5719-llvm-168ced94d84929f7cdb5d61c67ed79e7275f0ec6.zip |
Implement @llvm.returnaddress. rdar://8015977.
llvm-svn: 104421
Diffstat (limited to 'llvm/lib/Target/XCore/XCoreInstrInfo.h')
-rw-r--r-- | llvm/lib/Target/XCore/XCoreInstrInfo.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/lib/Target/XCore/XCoreInstrInfo.h b/llvm/lib/Target/XCore/XCoreInstrInfo.h index 7f0a6699659..9035ea90c9b 100644 --- a/llvm/lib/Target/XCore/XCoreInstrInfo.h +++ b/llvm/lib/Target/XCore/XCoreInstrInfo.h @@ -84,11 +84,13 @@ public: virtual bool spillCalleeSavedRegisters(MachineBasicBlock &MBB, MachineBasicBlock::iterator MI, - const std::vector<CalleeSavedInfo> &CSI) const; + const std::vector<CalleeSavedInfo> &CSI, + const TargetRegisterInfo *TRI) const; virtual bool restoreCalleeSavedRegisters(MachineBasicBlock &MBB, MachineBasicBlock::iterator MI, - const std::vector<CalleeSavedInfo> &CSI) const; + const std::vector<CalleeSavedInfo> &CSI, + const TargetRegisterInfo *TRI) const; virtual bool ReverseBranchCondition( SmallVectorImpl<MachineOperand> &Cond) const; |