mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Change signature of function RAFast::spillAll to avoid conversion between
type MachineInstr* and MachineBasicBlock::iterator. llvm-svn: 167088
This commit is contained in:
parent
7aaf7247d3
commit
7297f1c0d1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user