mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-29 10:32:47 +00:00
Get rid of the only use of TargetInstrInfo::getResultPos(), a deprecated method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15483 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9e4c681354
commit
1c313c959a
@ -1423,7 +1423,7 @@ FixConstantOperandsForInstr(Instruction* vmInstr, MachineInstr* minstr,
|
||||
|
||||
MachineOpCode opCode = minstr->getOpcode();
|
||||
const TargetInstrInfo& instrInfo = *target.getInstrInfo();
|
||||
int resultPos = instrInfo.getResultPos(opCode);
|
||||
int resultPos = instrInfo.get(opCode).resultPos;
|
||||
int immedPos = instrInfo.getImmedConstantPos(opCode);
|
||||
|
||||
Function *F = vmInstr->getParent()->getParent();
|
||||
|
Loading…
Reference in New Issue
Block a user