File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
branches/master-next/include/swift/SILOptimizer/Analysis Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 3574c513bbc5578dd9346b4ea9ab5995c5927bb5
3
- refs/heads/master-next: 9bd6fec6970799ee419cff712005b81e7dfd74b4
3
+ refs/heads/master-next: 27fe8493aa00e21544c10ea5e18223d4ac2a0a9e
4
4
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
5
5
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea
6
6
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-b: 66d897bfcf64a82cb9a87f5e663d889189d06d07
Original file line number Diff line number Diff line change @@ -332,6 +332,17 @@ class ConsumedArgToEpilogueReleaseMatcher {
332
332
return completeList.getValue ();
333
333
}
334
334
335
+ Optional<ArrayRef<SILInstruction *>>
336
+ getPartiallyPostDomReleaseSet (SILArgument *arg) const {
337
+ auto iter = ArgInstMap.find (arg);
338
+ if (iter == ArgInstMap.end ())
339
+ return None;
340
+ auto partialList = iter->second .getPartiallyPostDomReleases ();
341
+ if (!partialList)
342
+ return None;
343
+ return partialList;
344
+ }
345
+
335
346
ArrayRef<SILInstruction *> getReleasesForArgument (SILValue value) const {
336
347
auto *arg = dyn_cast<SILArgument>(value);
337
348
if (!arg)
You can’t perform that action at this time.
0 commit comments