OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f2ac19
)
Remove unused method
author
Chris Lattner
<sabre@nondot.org>
Tue, 5 Aug 2003 17:09:08 +0000
(17:09 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 5 Aug 2003 17:09:08 +0000
(17:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7608
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/CodeGen/MachineInstr.h
patch
|
blob
|
history
diff --git
a/include/llvm/CodeGen/MachineInstr.h
b/include/llvm/CodeGen/MachineInstr.h
index
47f244b
..
d26f676
100644
(file)
--- a/
include/llvm/CodeGen/MachineInstr.h
+++ b/
include/llvm/CodeGen/MachineInstr.h
@@
-444,9
+444,6
@@
public:
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);