summaryrefslogtreecommitdiff
path: root/lib/CodeGen/RegisterCoalescer.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-06-06 18:25:08 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-06-06 18:25:08 +0000
commita7542d5f870c5d98960d1676e23ac1d1d975d7e5 (patch)
tree7213d08a716536d4182511406d58b1d1f05f0e06 /lib/CodeGen/RegisterCoalescer.cpp
parenta97b180fc44718e525bb03b50e05fe66622c2b02 (diff)
downloadllvm-a7542d5f870c5d98960d1676e23ac1d1d975d7e5.tar.gz
llvm-a7542d5f870c5d98960d1676e23ac1d1d975d7e5.tar.bz2
llvm-a7542d5f870c5d98960d1676e23ac1d1d975d7e5.tar.xz
Remove unused private fields found by clang's new -Wunused-private-field.
There are some that I didn't remove this round because they looked like obvious stubs. There are dead variables in gtest too, they should be fixed upstream. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158090 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegisterCoalescer.cpp')
-rw-r--r--lib/CodeGen/RegisterCoalescer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/RegisterCoalescer.cpp b/lib/CodeGen/RegisterCoalescer.cpp
index 24a22a5db7..0a514fde87 100644
--- a/lib/CodeGen/RegisterCoalescer.cpp
+++ b/lib/CodeGen/RegisterCoalescer.cpp
@@ -939,7 +939,7 @@ bool RegisterCoalescer::joinCopy(MachineInstr *CopyMI, bool &Again) {
Again = false;
DEBUG(dbgs() << LIS->getInstructionIndex(CopyMI) << '\t' << *CopyMI);
- CoalescerPair CP(*TII, *TRI);
+ CoalescerPair CP(*TRI);
if (!CP.setRegisters(CopyMI)) {
DEBUG(dbgs() << "\tNot coalescable.\n");
return false;