File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
include/swift/SILAnalysis Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -65,14 +65,14 @@ class PostOrderFunctionInfo {
65
65
66
66
unsigned size () const { return PostOrder.size (); }
67
67
68
- Optional<unsigned > getPONum (SILBasicBlock *BB) const {
68
+ Optional<unsigned > getPONumber (SILBasicBlock *BB) const {
69
69
auto Iter = BBToPOMap.find (BB);
70
70
if (Iter != BBToPOMap.end ())
71
71
return Iter->second ;
72
72
return None;
73
73
}
74
74
75
- Optional<unsigned > getRPONum (SILBasicBlock *BB) const {
75
+ Optional<unsigned > getRPONumber (SILBasicBlock *BB) const {
76
76
auto Iter = BBToPOMap.find (BB);
77
77
if (Iter != BBToPOMap.end ())
78
78
return PostOrder.size () - Iter->second - 1 ;
Original file line number Diff line number Diff line change @@ -1046,7 +1046,7 @@ class BBToDataflowStateMap {
1046
1046
}
1047
1047
// / \return BBEnumTagDataflowState or NULL for unreachable blocks.
1048
1048
BBEnumTagDataflowState *getBBState (SILBasicBlock *BB) {
1049
- if (auto ID = PO->getRPONum (BB)) {
1049
+ if (auto ID = PO->getRPONumber (BB)) {
1050
1050
return &getRPOState (*ID);
1051
1051
}
1052
1052
return nullptr ;
You can’t perform that action at this time.
0 commit comments