mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-14 00:31:06 +00:00
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
This commit is contained in:
parent
498f55989a
commit
18b111bffe
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user