From 2ce7f2068f13566f5a70ee779e3bb83a6cb8d942 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 5 Dec 2008 05:45:42 +0000 Subject: 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 --- lib/CodeGen/RegAllocLocal.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/CodeGen/RegAllocLocal.cpp') diff --git a/lib/CodeGen/RegAllocLocal.cpp b/lib/CodeGen/RegAllocLocal.cpp index 7c3c81e7da..bf4e205616 100644 --- a/lib/CodeGen/RegAllocLocal.cpp +++ b/lib/CodeGen/RegAllocLocal.cpp @@ -609,7 +609,7 @@ void RALocal::ComputeLocalLiveness(MachineBasicBlock& MBB) { // Check if this is a two address instruction. If so, then // the def does not kill the use. if (last->second.first == I && - I->isRegReDefinedByTwoAddr(MO.getReg(), i)) + I->isRegReDefinedByTwoAddr(i)) continue; MachineOperand& lastUD = -- cgit v1.2.3-18-g5258