aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorReed Kotler <rkotler@mips.com>2013-05-14 02:13:45 +0000
committerReed Kotler <rkotler@mips.com>2013-05-14 02:13:45 +0000
commit5427aa88d5930655ef9e958446489acc1bf9a160 (patch)
treedc2169fd6cc20363b5c0e27b26a687e2fd3da9b6 /lib
parenteafa96485a6c3ce0de4f511ed080a64a7a44f2bb (diff)
Removed an unnamed namespace and forgot to make two of the functions inside
"static". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181754 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/Mips/Mips16HardFloat.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/Target/Mips/Mips16HardFloat.cpp b/lib/Target/Mips/Mips16HardFloat.cpp
index 304715aaa4..e4ff4c49d6 100644
--- a/lib/Target/Mips/Mips16HardFloat.cpp
+++ b/lib/Target/Mips/Mips16HardFloat.cpp
@@ -175,8 +175,9 @@ static bool needsFPHelperFromSig(Function &F) {
// interoperate
//
-void swapFPIntParams(FPParamVariant PV, Module *M, InlineAsmHelper &IAH,
- bool LE, bool ToFP) {
+static void swapFPIntParams
+ (FPParamVariant PV, Module *M, InlineAsmHelper &IAH,
+ bool LE, bool ToFP) {
//LLVMContext &Context = M->getContext();
std::string MI = ToFP? "mtc1 ": "mfc1 ";
switch (PV) {
@@ -237,7 +238,8 @@ void swapFPIntParams(FPParamVariant PV, Module *M, InlineAsmHelper &IAH,
// Make sure that we know we already need a stub for this function.
// Having called needsFPHelperFromSig
//
-void assureFPCallStub(Function &F, Module *M, const MipsSubtarget &Subtarget){
+static void assureFPCallStub(Function &F, Module *M,
+ const MipsSubtarget &Subtarget){
// for now we only need them for static relocation
if (!Subtarget.getRelocationModel() == Reloc::PIC_)
return;