File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
include/llvm/Transforms/Utils Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ class SCCPSolver {
147
147
148
148
// / getMRVFunctionsTracked - Get the set of functions which return multiple
149
149
// / values tracked by the pass.
150
- const SmallPtrSet<Function *, 16 > getMRVFunctionsTracked ();
150
+ const SmallPtrSet<Function *, 16 > & getMRVFunctionsTracked ();
151
151
152
152
// / markOverdefined - Mark the specified value overdefined. This
153
153
// / works with both scalars and structs.
Original file line number Diff line number Diff line change @@ -847,7 +847,7 @@ class SCCPInstVisitor : public InstVisitor<SCCPInstVisitor> {
847
847
return TrackedGlobals;
848
848
}
849
849
850
- const SmallPtrSet<Function *, 16 > getMRVFunctionsTracked () {
850
+ const SmallPtrSet<Function *, 16 > & getMRVFunctionsTracked () {
851
851
return MRVFunctionsTracked;
852
852
}
853
853
@@ -2230,7 +2230,7 @@ SCCPSolver::getTrackedGlobals() {
2230
2230
return Visitor->getTrackedGlobals ();
2231
2231
}
2232
2232
2233
- const SmallPtrSet<Function *, 16 > SCCPSolver::getMRVFunctionsTracked () {
2233
+ const SmallPtrSet<Function *, 16 > & SCCPSolver::getMRVFunctionsTracked () {
2234
2234
return Visitor->getMRVFunctionsTracked ();
2235
2235
}
2236
2236
You can’t perform that action at this time.
0 commit comments