We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0841954 + 126b137 commit a2898cbCopy full SHA for a2898cb
include/swift/SILOptimizer/Analysis/ARCAnalysis.h
@@ -230,7 +230,7 @@ class ConsumedArgToEpilogueReleaseMatcher {
230
Optional<ArrayRef<SILInstruction *>> getFullyPostDomReleases() const {
231
if (releases.empty() || foundSomeButNotAllReleases())
232
return None;
233
- return {releases};
+ return ArrayRef<SILInstruction *>(releases);
234
}
235
236
/// If we were able to find a set of releases for this argument, but those
0 commit comments