[llvm-commits] CVS: llvm/lib/Target/X86/X86InstrInfo.cpp
Alkis Evlogimenos
alkis at cs.uiuc.edu
Fri Feb 13 15:03:05 PST 2004
Changes in directory llvm/lib/Target/X86:
X86InstrInfo.cpp updated: 1.21 -> 1.22
---
Log message:
Remove getAllocatedRegNum(). Use getReg() instead.
---
Diffs of the changes: (+2 -2)
Index: llvm/lib/Target/X86/X86InstrInfo.cpp
diff -u llvm/lib/Target/X86/X86InstrInfo.cpp:1.21 llvm/lib/Target/X86/X86InstrInfo.cpp:1.22
--- llvm/lib/Target/X86/X86InstrInfo.cpp:1.21 Tue Feb 10 14:31:28 2004
+++ llvm/lib/Target/X86/X86InstrInfo.cpp Fri Feb 13 15:01:19 2004
@@ -61,8 +61,8 @@
MI.getOperand(0).isRegister() &&
MI.getOperand(1).isRegister() &&
"invalid register-register move instruction");
- sourceReg = MI.getOperand(1).getAllocatedRegNum();
- destReg = MI.getOperand(0).getAllocatedRegNum();
+ sourceReg = MI.getOperand(1).getReg();
+ destReg = MI.getOperand(0).getReg();
return true;
}
return false;
More information about the llvm-commits
mailing list