mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-02 18:31:54 +00:00
Make isScratchReg and isFPCopy methods static.
llvm-svn: 168407
This commit is contained in:
parent
eb1205766d
commit
d60dcd504e
@ -206,7 +206,7 @@ namespace {
|
||||
}
|
||||
|
||||
/// isScratchReg - Returns trus if RegNo is a scratch FP register.
|
||||
bool isScratchReg(unsigned RegNo) const {
|
||||
static bool isScratchReg(unsigned RegNo) {
|
||||
return RegNo > 8 && RegNo < NumFPRegs;
|
||||
}
|
||||
|
||||
@ -311,7 +311,7 @@ namespace {
|
||||
void handleSpecialFP(MachineBasicBlock::iterator &I);
|
||||
|
||||
// Check if a COPY instruction is using FP registers.
|
||||
bool isFPCopy(MachineInstr *MI) const {
|
||||
static bool isFPCopy(MachineInstr *MI) {
|
||||
unsigned DstReg = MI->getOperand(0).getReg();
|
||||
unsigned SrcReg = MI->getOperand(1).getReg();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user