mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
[Mips] Make helper function static, NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242393 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
83c223932e
commit
81266fc854
@ -622,7 +622,8 @@ MipsSEFrameLowering::hasReservedCallFrame(const MachineFunction &MF) const {
|
||||
}
|
||||
|
||||
/// Mark \p Reg and all registers aliasing it in the bitset.
|
||||
void setAliasRegs(MachineFunction &MF, BitVector &SavedRegs, unsigned Reg) {
|
||||
static void setAliasRegs(MachineFunction &MF, BitVector &SavedRegs,
|
||||
unsigned Reg) {
|
||||
const TargetRegisterInfo *TRI = MF.getSubtarget().getRegisterInfo();
|
||||
for (MCRegAliasIterator AI(Reg, TRI, true); AI.isValid(); ++AI)
|
||||
SavedRegs.set(*AI);
|
||||
|
Loading…
Reference in New Issue
Block a user