Removed an unnamed namespace and forgot to make two of the functions inside

"static".

llvm-svn: 181754
This commit is contained in:
Reed Kotler 2013-05-14 02:13:45 +00:00
parent 2c4657d9b7
commit cad47f0297
1 changed files with 5 additions and 3 deletions

View File

@ -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;