[llvm-commits] CVS: llvm/include/llvm/CodeGen/MachineInstr.h
Chris Lattner
lattner at cs.uiuc.edu
Tue Aug 5 12:10:04 PDT 2003
Changes in directory llvm/include/llvm/CodeGen:
MachineInstr.h updated: 1.108 -> 1.109
---
Log message:
Remove unused method
---
Diffs of the changes:
Index: llvm/include/llvm/CodeGen/MachineInstr.h
diff -u llvm/include/llvm/CodeGen/MachineInstr.h:1.108 llvm/include/llvm/CodeGen/MachineInstr.h:1.109
--- llvm/include/llvm/CodeGen/MachineInstr.h:1.108 Tue Aug 5 11:58:44 2003
+++ llvm/include/llvm/CodeGen/MachineInstr.h Tue Aug 5 12:09:08 2003
@@ -444,9 +444,6 @@
const std::set<int> &getRegsUsed() const {
return regsUsed;
}
- bool isRegUsed(int regNum) const {
- return regsUsed.find(regNum) != regsUsed.end();
- }
void insertUsedReg(unsigned Reg) {
assert(((int) Reg) >= 0 && "Invalid register being marked as used");
regsUsed.insert((int) Reg);
More information about the llvm-commits
mailing list