mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
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
This commit is contained in:
parent
eafa96485a
commit
5427aa88d5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user