diff options
Diffstat (limited to 'llvm/lib/Analysis/ProfileInfoLoaderPass.cpp')
-rw-r--r-- | llvm/lib/Analysis/ProfileInfoLoaderPass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/ProfileInfoLoaderPass.cpp b/llvm/lib/Analysis/ProfileInfoLoaderPass.cpp index 9b5760f2cdf..6b33ef8f32c 100644 --- a/llvm/lib/Analysis/ProfileInfoLoaderPass.cpp +++ b/llvm/lib/Analysis/ProfileInfoLoaderPass.cpp @@ -168,7 +168,7 @@ unsigned LoaderPass::readEdge(ProfileInfo::Edge e, std::vector<unsigned> ECs, // This happens only when loading edges for optimal edge profiling. SpanningTree.insert(e); } - return ei++ + return ei++; } else { return ei; } |