From e057ca61b1571e558a0b02f72570bc859617ecb4 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 5 Aug 2003 17:09:08 +0000 Subject: [PATCH] Remove unused method git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7608 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/MachineInstr.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h index 47f244b148f..d26f676a6eb 100644 --- a/include/llvm/CodeGen/MachineInstr.h +++ b/include/llvm/CodeGen/MachineInstr.h @@ -444,9 +444,6 @@ public: const std::set &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);