projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b4310b
)
Make isScratchReg and isFPCopy methods static.
author
Jakub Staszak
<kubastaszak@gmail.com>
Wed, 21 Nov 2012 00:50:57 +0000
(
00:50
+0000)
committer
Jakub Staszak
<kubastaszak@gmail.com>
Wed, 21 Nov 2012 00:50:57 +0000
(
00:50
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168407
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86FloatingPoint.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86FloatingPoint.cpp
b/lib/Target/X86/X86FloatingPoint.cpp
index a3840f58bcb9d80fee6fbc0d25ea37866daaff2f..193d4f5da82b3ea8f297a45b84cd857fa4722529 100644
(file)
--- a/
lib/Target/X86/X86FloatingPoint.cpp
+++ b/
lib/Target/X86/X86FloatingPoint.cpp
@@
-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();