diff options
Diffstat (limited to 'llvm/lib/Transforms/Utils/SampleProfileInference.cpp')
| -rw-r--r-- | llvm/lib/Transforms/Utils/SampleProfileInference.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/SampleProfileInference.cpp b/llvm/lib/Transforms/Utils/SampleProfileInference.cpp index 31d62fbf0618..101b70d8def4 100644 --- a/llvm/lib/Transforms/Utils/SampleProfileInference.cpp +++ b/llvm/lib/Transforms/Utils/SampleProfileInference.cpp @@ -159,7 +159,7 @@ public: /// Get the total flow from a given source node. /// Returns a list of pairs (target node, amount of flow to the target). - const std::vector<std::pair<uint64_t, int64_t>> getFlow(uint64_t Src) const { + std::vector<std::pair<uint64_t, int64_t>> getFlow(uint64_t Src) const { std::vector<std::pair<uint64_t, int64_t>> Flow; for (const auto &Edge : Edges[Src]) { if (Edge.Flow > 0) |
