diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2004-08-04 08:05:27 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2004-08-04 08:05:27 +0000 |
commit | 1c313c959a0ee6a94a219dc6da4da625700f9875 (patch) | |
tree | 1b2efb5194d8324ad57753d3e32599b8a8da7ba8 | |
parent | 9e4c681354ae36bda07c3fc2494574740905dc06 (diff) |
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
-rw-r--r-- | lib/Target/SparcV9/SparcV9BurgISel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/SparcV9/SparcV9BurgISel.cpp b/lib/Target/SparcV9/SparcV9BurgISel.cpp index 0f15ad9fbd..a32eb340af 100644 --- a/lib/Target/SparcV9/SparcV9BurgISel.cpp +++ b/lib/Target/SparcV9/SparcV9BurgISel.cpp @@ -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(); |