PeepholeOptimizer: make parameter ref to SmallPtrSetImpl
[oota-llvm.git] / lib / CodeGen / StackMapLivenessAnalysis.cpp
index 00871c061d24c1a9fb3a04fbc628824292ef49fa..c2ee87a3de8f16e4143f2206a446a83ff82a8ae6 100644 (file)
@@ -67,7 +67,7 @@ bool StackMapLiveness::runOnMachineFunction(MachineFunction &_MF) {
   DEBUG(dbgs() << "********** COMPUTING STACKMAP LIVENESS: "
                << _MF.getName() << " **********\n");
   MF = &_MF;
-  TRI = MF->getTarget().getSubtargetImpl()->getRegisterInfo();
+  TRI = MF->getSubtarget().getRegisterInfo();
   ++NumStackMapFuncVisited;
 
   // Skip this function if there are no patchpoints to process.