@@ -812,7 +812,7 @@ template <typename T> static void iterateOverInstrs(BinaryFunction &BF, T Fn) {
812812}
813813
814814static SmallVector<MCPhysReg>
815- collectRegsToTrack (const ArrayRef<BriefReport<MCPhysReg>> Reports) {
815+ collectRegsToTrack (ArrayRef<BriefReport<MCPhysReg>> Reports) {
816816 SmallSet<MCPhysReg, 4 > RegsToTrack;
817817 for (auto Report : Reports)
818818 if (Report.RequestedDetails )
@@ -856,7 +856,7 @@ void FunctionAnalysis::findUnsafeUses(
856856}
857857
858858void FunctionAnalysis::augmentUnsafeUseReports (
859- const ArrayRef<BriefReport<MCPhysReg>> Reports) {
859+ ArrayRef<BriefReport<MCPhysReg>> Reports) {
860860 SmallVector<MCPhysReg> RegsToTrack = collectRegsToTrack (Reports);
861861 // Re-compute the analysis with register tracking.
862862 auto Analysis = SrcSafetyAnalysis::create (BF, AllocatorId, RegsToTrack);
@@ -974,7 +974,7 @@ void GadgetReport::generateReport(raw_ostream &OS,
974974}
975975
976976static void printRelatedInstrs (raw_ostream &OS, const MCInstReference Location,
977- const ArrayRef<MCInstReference> RelatedInstrs) {
977+ ArrayRef<MCInstReference> RelatedInstrs) {
978978 const BinaryFunction &BF = *Location.getFunction ();
979979 const BinaryContext &BC = BF.getBinaryContext ();
980980
0 commit comments