diff options
Diffstat (limited to 'llvm/lib/Transforms')
| -rw-r--r-- | llvm/lib/Transforms/IPO/Inliner.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/llvm/lib/Transforms/IPO/Inliner.cpp b/llvm/lib/Transforms/IPO/Inliner.cpp index 2d703980c33..8a9d14977a7 100644 --- a/llvm/lib/Transforms/IPO/Inliner.cpp +++ b/llvm/lib/Transforms/IPO/Inliner.cpp @@ -552,7 +552,7 @@ bool Inliner::removeDeadFunctions(CallGraph &CG, bool AlwaysInlineOnly) {    // Note that it doesn't matter that we are iterating over a non-stable order    // here to do this, it doesn't matter which order the functions are deleted    // in. -  std::sort(FunctionsToRemove.begin(), FunctionsToRemove.end()); +  array_pod_sort(FunctionsToRemove.begin(), FunctionsToRemove.end());    FunctionsToRemove.erase(std::unique(FunctionsToRemove.begin(),                                        FunctionsToRemove.end()),                            FunctionsToRemove.end()); | 

