[llvm-commits] CVS: llvm/lib/Target/SparcV9/SparcV9BurgISel.cpp

Brian Gaeke gaeke at cs.uiuc.edu
Wed Aug 4 01:05:37 PDT 2004



Changes in directory llvm/lib/Target/SparcV9:

SparcV9BurgISel.cpp updated: 1.1 -> 1.2
---
Log message:

Get rid of the only use of TargetInstrInfo::getResultPos(), a deprecated method.


---
Diffs of the changes:  (+1 -1)

Index: llvm/lib/Target/SparcV9/SparcV9BurgISel.cpp
diff -u llvm/lib/Target/SparcV9/SparcV9BurgISel.cpp:1.1 llvm/lib/Target/SparcV9/SparcV9BurgISel.cpp:1.2
--- llvm/lib/Target/SparcV9/SparcV9BurgISel.cpp:1.1	Wed Aug  4 02:28:51 2004
+++ llvm/lib/Target/SparcV9/SparcV9BurgISel.cpp	Wed Aug  4 03:05:27 2004
@@ -1423,7 +1423,7 @@
   
   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();






More information about the llvm-commits mailing list