[X86] Inline variable to avoid unused warning in Release builds. NFCI.

This commit is contained in:
Benjamin Kramer 2021-05-21 18:28:20 +02:00
parent 2fca555866
commit ea438b4898
1 changed files with 1 additions and 2 deletions

View File

@ -196,8 +196,7 @@ void X86ExpandPseudo::expandCALL_RVMARKER(MachineBasicBlock &MBB,
MachineInstr &MI = *MBBI;
MachineInstr *OriginalCall;
MachineOperand &CallTarget = MI.getOperand(1);
assert((CallTarget.isGlobal() || CallTarget.isReg()) &&
assert((MI.getOperand(1).isGlobal() || MI.getOperand(1).isReg()) &&
"invalid operand for regular call");
unsigned Opc = -1;
if (MI.getOpcode() == X86::CALL64m_RVMARKER)