diff options
author | Dan Gohman <gohman@apple.com> | 2008-12-05 05:45:42 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-12-05 05:45:42 +0000 |
commit | 2ce7f2068f13566f5a70ee779e3bb83a6cb8d942 (patch) | |
tree | 9a38d3f956f0b19e7dbfd89acb758b582c4d75c5 /include/llvm/CodeGen/MachineInstr.h | |
parent | 4c0d95178010c8788129b392ab6a1c62484f1620 (diff) |
Drop the reg argument to isRegReDefinedByTwoAddr, which was redundant.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60586 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineInstr.h')
-rw-r--r-- | include/llvm/CodeGen/MachineInstr.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h index 0cdad848b9..4b9f459969 100644 --- a/include/llvm/CodeGen/MachineInstr.h +++ b/include/llvm/CodeGen/MachineInstr.h @@ -219,9 +219,9 @@ public: /// none is found. int findFirstPredOperandIdx() const; - /// isRegReDefinedByTwoAddr - Given the defined register and the operand index, + /// isRegReDefinedByTwoAddr - Given the index of a register def operand, /// check if the register def is a re-definition due to two addr elimination. - bool isRegReDefinedByTwoAddr(unsigned Reg, unsigned DefIdx) const; + bool isRegReDefinedByTwoAddr(unsigned DefIdx) const; /// copyKillDeadInfo - Copies kill / dead operand properties from MI. /// |