[llvm] r181754 - Removed an unnamed namespace and forgot to make two of the functions inside

Reed Kotler rkotler at mips.com
Mon May 13 19:13:46 PDT 2013


Author: rkotler
Date: Mon May 13 21:13:45 2013
New Revision: 181754

URL: http://llvm.org/viewvc/llvm-project?rev=181754&view=rev
Log:
Removed an unnamed namespace and forgot to make two of the functions inside
"static".


Modified:
    llvm/trunk/lib/Target/Mips/Mips16HardFloat.cpp

Modified: llvm/trunk/lib/Target/Mips/Mips16HardFloat.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/Mips16HardFloat.cpp?rev=181754&r1=181753&r2=181754&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/Mips16HardFloat.cpp (original)
+++ llvm/trunk/lib/Target/Mips/Mips16HardFloat.cpp Mon May 13 21:13:45 2013
@@ -175,8 +175,9 @@ static bool needsFPHelperFromSig(Functio
 // 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,
 // 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;





More information about the llvm-commits mailing list