Changes in directory llvm/lib/CodeGen:
VirtRegMap.cpp updated: 1.89 -> 1.90 --- Log message: Minor clean up. --- Diffs of the changes: (+3 -2) VirtRegMap.cpp | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) Index: llvm/lib/CodeGen/VirtRegMap.cpp diff -u llvm/lib/CodeGen/VirtRegMap.cpp:1.89 llvm/lib/CodeGen/VirtRegMap.cpp:1.90 --- llvm/lib/CodeGen/VirtRegMap.cpp:1.89 Thu Dec 14 01:54:05 2006 +++ llvm/lib/CodeGen/VirtRegMap.cpp Fri Dec 15 00:41:01 2006 @@ -573,7 +573,8 @@ // Loop over all of the implicit defs, clearing them from our available // sets. - const unsigned *ImpDef = TII->getImplicitDefs(MI.getOpcode()); + const TargetInstrDescriptor *TID = MI.getInstrDescriptor(); + const unsigned *ImpDef = TID->ImplicitDefs; if (ImpDef) { for ( ; *ImpDef; ++ImpDef) { PhysRegsUsed[*ImpDef] = true; @@ -626,7 +627,7 @@ // aren't allowed to modify the reused register. If none of these cases // apply, reuse it. bool CanReuse = true; - int ti = MI.getInstrDescriptor()->getOperandConstraint(i, TOI::TIED_TO); + int ti = TID->getOperandConstraint(i, TOI::TIED_TO); if (ti != -1 && MI.getOperand(ti).isReg() && MI.getOperand(ti).getReg() == VirtReg) { _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits