mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
[Hexagon] Fix unused variable warning in release builds
llvm-svn: 346537
This commit is contained in:
parent
1d0a9d40b9
commit
780ec70d82
@ -555,6 +555,7 @@ void HexagonFrameLowering::emitPrologue(MachineFunction &MF,
|
|||||||
bool HexagonFrameLowering::enableCalleeSaveSkip(
|
bool HexagonFrameLowering::enableCalleeSaveSkip(
|
||||||
const MachineFunction &MF) const {
|
const MachineFunction &MF) const {
|
||||||
const auto &F = MF.getFunction();
|
const auto &F = MF.getFunction();
|
||||||
|
(void)F; // Silence unused variable in release builds
|
||||||
assert(F.hasFnAttribute(Attribute::NoReturn) &&
|
assert(F.hasFnAttribute(Attribute::NoReturn) &&
|
||||||
F.getFunction().hasFnAttribute(Attribute::NoUnwind) &&
|
F.getFunction().hasFnAttribute(Attribute::NoUnwind) &&
|
||||||
!F.getFunction().hasFnAttribute(Attribute::UWTable));
|
!F.getFunction().hasFnAttribute(Attribute::UWTable));
|
||||||
|
Loading…
Reference in New Issue
Block a user