mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-09 13:33:17 +00:00
[x86] Fix unused variable warning in no-asserts build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213989 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9695d08ab7
commit
b1fa0cf8b4
@ -1000,6 +1000,7 @@ void X86AsmPrinter::EmitInstruction(const MachineInstr *MI) {
|
||||
const MachineConstantPoolEntry &MaskConstantEntry =
|
||||
Constants[MI->getOperand(5).getIndex()];
|
||||
Type *MaskTy = MaskConstantEntry.getType();
|
||||
(void)MaskTy;
|
||||
if (!MaskConstantEntry.isMachineConstantPoolEntry())
|
||||
if (auto *C = dyn_cast<ConstantDataSequential>(
|
||||
MaskConstantEntry.Val.ConstVal)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user