Remove unused private fields found by clang's new -Wunused-private-field.
[oota-llvm.git] / lib / CodeGen / RegAllocPBQP.cpp
index 4084ebb27a3476c31fb43420c42cecc0000145a6..4f6ad5e0ce9701b5c2952a1d0bca840b5724b437 100644 (file)
@@ -375,7 +375,7 @@ std::auto_ptr<PBQPRAProblem> PBQPBuilderWithCoalescing::build(
   PBQP::Graph &g = p->getGraph();
 
   const TargetMachine &tm = mf->getTarget();
-  CoalescerPair cp(*tm.getInstrInfo(), *tm.getRegisterInfo());
+  CoalescerPair cp(*tm.getRegisterInfo());
 
   // Scan the machine function and add a coalescing cost whenever CoalescerPair
   // gives the Ok.