[x86] Switch to using the variable we extracted this operand into.

Spotted this missed refactoring by inspection when reading code, and it
doesn't changethe functionality at all.

llvm-svn: 214627
This commit is contained in:
Chandler Carruth 2014-08-02 10:29:36 +00:00
parent 5219d4eff6
commit d10b29240c
1 changed files with 1 additions and 1 deletions

View File

@ -999,7 +999,7 @@ void X86AsmPrinter::EmitInstruction(const MachineInstr *MI) {
ArrayRef<MachineConstantPoolEntry> Constants =
MI->getParent()->getParent()->getConstantPool()->getConstants();
const MachineConstantPoolEntry &MaskConstantEntry =
Constants[MI->getOperand(5).getIndex()];
Constants[MaskOp.getIndex()];
Type *MaskTy = MaskConstantEntry.getType();
(void)MaskTy;
if (!MaskConstantEntry.isMachineConstantPoolEntry())