mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-06 05:33:28 +00:00
[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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214627 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3c92a7aac1
commit
a66122515a
@ -999,7 +999,7 @@ void X86AsmPrinter::EmitInstruction(const MachineInstr *MI) {
|
|||||||
ArrayRef<MachineConstantPoolEntry> Constants =
|
ArrayRef<MachineConstantPoolEntry> Constants =
|
||||||
MI->getParent()->getParent()->getConstantPool()->getConstants();
|
MI->getParent()->getParent()->getConstantPool()->getConstants();
|
||||||
const MachineConstantPoolEntry &MaskConstantEntry =
|
const MachineConstantPoolEntry &MaskConstantEntry =
|
||||||
Constants[MI->getOperand(5).getIndex()];
|
Constants[MaskOp.getIndex()];
|
||||||
Type *MaskTy = MaskConstantEntry.getType();
|
Type *MaskTy = MaskConstantEntry.getType();
|
||||||
(void)MaskTy;
|
(void)MaskTy;
|
||||||
if (!MaskConstantEntry.isMachineConstantPoolEntry())
|
if (!MaskConstantEntry.isMachineConstantPoolEntry())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user