mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
Fix build of Mips code with MSVC by using our macro instead of __attribute__((unused)) directly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221956 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
98c86d76df
commit
4f3c9858e0
@ -180,7 +180,7 @@ public:
|
|||||||
|
|
||||||
static bool CC_Mips(unsigned ValNo, MVT ValVT, MVT LocVT,
|
static bool CC_Mips(unsigned ValNo, MVT ValVT, MVT LocVT,
|
||||||
CCValAssign::LocInfo LocInfo, ISD::ArgFlagsTy ArgFlags,
|
CCValAssign::LocInfo LocInfo, ISD::ArgFlagsTy ArgFlags,
|
||||||
CCState &State) __attribute__((unused));
|
CCState &State) LLVM_ATTRIBUTE_UNUSED;
|
||||||
|
|
||||||
static bool CC_MipsO32_FP32(unsigned ValNo, MVT ValVT, MVT LocVT,
|
static bool CC_MipsO32_FP32(unsigned ValNo, MVT ValVT, MVT LocVT,
|
||||||
CCValAssign::LocInfo LocInfo,
|
CCValAssign::LocInfo LocInfo,
|
||||||
|
@ -2356,10 +2356,9 @@ static bool CC_MipsO32_FP64(unsigned ValNo, MVT ValVT,
|
|||||||
return CC_MipsO32(ValNo, ValVT, LocVT, LocInfo, ArgFlags, State, F64Regs);
|
return CC_MipsO32(ValNo, ValVT, LocVT, LocInfo, ArgFlags, State, F64Regs);
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool CC_MipsO32(unsigned ValNo, MVT ValVT,
|
static bool CC_MipsO32(unsigned ValNo, MVT ValVT, MVT LocVT,
|
||||||
MVT LocVT, CCValAssign::LocInfo LocInfo,
|
CCValAssign::LocInfo LocInfo, ISD::ArgFlagsTy ArgFlags,
|
||||||
ISD::ArgFlagsTy ArgFlags, CCState &State)
|
CCState &State) LLVM_ATTRIBUTE_UNUSED;
|
||||||
__attribute__((unused));
|
|
||||||
|
|
||||||
#include "MipsGenCallingConv.inc"
|
#include "MipsGenCallingConv.inc"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user