Skip to content

Commit 4305590

Browse files
committed
---
yaml --- r: 349195 b: refs/heads/master-next c: 27fe849 h: refs/heads/master i: 349193: 8ef5b4b 349191: 7cda334
1 parent 89dce92 commit 4305590

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
refs/heads/master: 3574c513bbc5578dd9346b4ea9ab5995c5927bb5
3-
refs/heads/master-next: 9bd6fec6970799ee419cff712005b81e7dfd74b4
3+
refs/heads/master-next: 27fe8493aa00e21544c10ea5e18223d4ac2a0a9e
44
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
55
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea
66
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-b: 66d897bfcf64a82cb9a87f5e663d889189d06d07

branches/master-next/include/swift/SILOptimizer/Analysis/ARCAnalysis.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,17 @@ class ConsumedArgToEpilogueReleaseMatcher {
332332
return completeList.getValue();
333333
}
334334

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+
335346
ArrayRef<SILInstruction *> getReleasesForArgument(SILValue value) const {
336347
auto *arg = dyn_cast<SILArgument>(value);
337348
if (!arg)

0 commit comments

Comments
 (0)