mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Change signature of function RAFast::spillAll to avoid conversion between
type MachineInstr* and MachineBasicBlock::iterator. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167088 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -175,7 +175,7 @@ namespace {
|
||||
unsigned VirtReg, unsigned Hint);
|
||||
LiveRegMap::iterator reloadVirtReg(MachineInstr *MI, unsigned OpNum,
|
||||
unsigned VirtReg, unsigned Hint);
|
||||
void spillAll(MachineInstr *MI);
|
||||
void spillAll(MachineBasicBlock::iterator MI);
|
||||
bool setPhysReg(MachineInstr *MI, unsigned OpNum, unsigned PhysReg);
|
||||
void addRetOperands(MachineBasicBlock *MBB);
|
||||
};
|
||||
@@ -314,7 +314,7 @@ void RAFast::spillVirtReg(MachineBasicBlock::iterator MI,
|
||||
}
|
||||
|
||||
/// spillAll - Spill all dirty virtregs without killing them.
|
||||
void RAFast::spillAll(MachineInstr *MI) {
|
||||
void RAFast::spillAll(MachineBasicBlock::iterator MI) {
|
||||
if (LiveVirtRegs.empty()) return;
|
||||
isBulkSpilling = true;
|
||||
// The LiveRegMap is keyed by an unsigned (the virtreg number), so the order
|
||||
|
Reference in New Issue
Block a user