diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-05-01 08:58:27 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-05-01 08:58:27 +0000 |
commit | 18b111bffe643b5ad52ae10a1d5728b0c1ac92f0 (patch) | |
tree | 39245d558800b87e1bfc2be7ba6dcd844537b46b /include/llvm/Target | |
parent | 498f55989a0ef437c098452ff83ccfe7ace2d802 (diff) | |
download | external_llvm-18b111bffe643b5ad52ae10a1d5728b0c1ac92f0.zip external_llvm-18b111bffe643b5ad52ae10a1d5728b0c1ac92f0.tar.gz external_llvm-18b111bffe643b5ad52ae10a1d5728b0c1ac92f0.tar.bz2 |
Add SPAdj parameter to account for call frame setup SP adjustment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36623 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target')
-rw-r--r-- | include/llvm/Target/MRegisterInfo.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/llvm/Target/MRegisterInfo.h b/include/llvm/Target/MRegisterInfo.h index da4b750..723ab69 100644 --- a/include/llvm/Target/MRegisterInfo.h +++ b/include/llvm/Target/MRegisterInfo.h @@ -512,11 +512,12 @@ public: /// referenced by the iterator contains an MO_FrameIndex operand which must be /// eliminated by this method. This method may modify or replace the /// specified instruction, as long as it keeps the iterator pointing the the - /// finished product. The return value is the number of instructions - /// added to (negative if removed from) the basic block. + /// finished product. SPAdj is the SP adjustment due to call frame setup + /// instruction. The return value is the number of instructions added to + /// (negative if removed from) the basic block. /// virtual void eliminateFrameIndex(MachineBasicBlock::iterator MI, - RegScavenger *RS = NULL) const = 0; + int SPAdj, RegScavenger *RS=NULL) const = 0; /// emitProlog/emitEpilog - These methods insert prolog and epilog code into /// the function. The return value is the number of instructions |