File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ void PMDataManager::emitInstrCountChangedRemark(
120
120
// If no function was passed in, then we're either a module pass or an
121
121
// CGSCC pass.
122
122
if (!CouldOnlyImpactOneFunction)
123
- std ::for_each (M. begin (), M. end () , UpdateFunctionChanges);
123
+ llvm ::for_each (M, UpdateFunctionChanges);
124
124
else
125
125
UpdateFunctionChanges (*F);
126
126
@@ -197,9 +197,7 @@ void PMDataManager::emitInstrCountChangedRemark(
197
197
// Are we looking at more than one function? If so, emit remarks for all of
198
198
// the functions in the module. Otherwise, only emit one remark.
199
199
if (!CouldOnlyImpactOneFunction)
200
- std::for_each (FunctionToInstrCount.keys ().begin (),
201
- FunctionToInstrCount.keys ().end (),
202
- EmitFunctionSizeChangedRemark);
200
+ llvm::for_each (FunctionToInstrCount.keys (), EmitFunctionSizeChangedRemark);
203
201
else
204
202
EmitFunctionSizeChangedRemark (F->getName ().str ());
205
203
}
You can’t perform that action at this time.
0 commit comments