@@ -66,7 +66,7 @@ void ARCRegionState::mergeSuccBottomUp(ARCRegionState &SuccRegionState) {
66
66
// effect of an intersection.
67
67
auto Other = SuccRegionState.PtrToBottomUpState .find (RefCountedValue);
68
68
if (Other == SuccRegionState.PtrToBottomUpState .end ()) {
69
- PtrToBottomUpState.blot (RefCountedValue);
69
+ PtrToBottomUpState.erase (RefCountedValue);
70
70
continue ;
71
71
}
72
72
@@ -76,7 +76,7 @@ void ARCRegionState::mergeSuccBottomUp(ARCRegionState &SuccRegionState) {
76
76
// This has the effect of an intersection since we already checked earlier
77
77
// that RefCountedValue was not blotted.
78
78
if (!OtherRefCountedValue) {
79
- PtrToBottomUpState.blot (RefCountedValue);
79
+ PtrToBottomUpState.erase (RefCountedValue);
80
80
continue ;
81
81
}
82
82
@@ -87,7 +87,7 @@ void ARCRegionState::mergeSuccBottomUp(ARCRegionState &SuccRegionState) {
87
87
// of instructions which together semantically act as one ref count
88
88
// increment. Merge the two states together.
89
89
if (!RefCountState.merge (OtherRefCountState)) {
90
- PtrToBottomUpState.blot (RefCountedValue);
90
+ PtrToBottomUpState.erase (RefCountedValue);
91
91
}
92
92
}
93
93
}
@@ -123,7 +123,7 @@ void ARCRegionState::mergePredTopDown(ARCRegionState &PredRegionState) {
123
123
// effect of an intersection.
124
124
auto Other = PredRegionState.PtrToTopDownState .find (RefCountedValue);
125
125
if (Other == PredRegionState.PtrToTopDownState .end ()) {
126
- PtrToTopDownState.blot (RefCountedValue);
126
+ PtrToTopDownState.erase (RefCountedValue);
127
127
continue ;
128
128
}
129
129
@@ -132,7 +132,7 @@ void ARCRegionState::mergePredTopDown(ARCRegionState &PredRegionState) {
132
132
// If the other ref count value was blotted, blot our value and continue.
133
133
// This has the effect of an intersection.
134
134
if (!OtherRefCountedValue) {
135
- PtrToTopDownState.blot (RefCountedValue);
135
+ PtrToTopDownState.erase (RefCountedValue);
136
136
continue ;
137
137
}
138
138
@@ -145,7 +145,7 @@ void ARCRegionState::mergePredTopDown(ARCRegionState &PredRegionState) {
145
145
// ref counted value and continue.
146
146
if (!RefCountState.merge (OtherRefCountState)) {
147
147
DEBUG (llvm::dbgs () << " Failed to merge!\n " );
148
- PtrToTopDownState.blot (RefCountedValue);
148
+ PtrToTopDownState.erase (RefCountedValue);
149
149
continue ;
150
150
}
151
151
}
0 commit comments