Skip to content

Commit 1ed3ce3

Browse files
authored
Merge pull request swiftlang#40453 from gottesmm/pr-a85fbe6f331638d8fc105031e934d0516c72122f
[move-function] Implement move function support for address only vars.
2 parents 981c358 + 2e018af commit 1ed3ce3

File tree

5 files changed

+310
-40
lines changed

5 files changed

+310
-40
lines changed

include/swift/Basic/BlotSetVector.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ class BlotSetVector {
113113
return {index, true};
114114
}
115115

116+
bool count(const ValueT &value) { return map.count(value); }
117+
116118
/// Replace \p value1 with \p value2 placing \p value2 into the position in
117119
/// the array where value1 used to be. If \p value2 is already in the set,
118120
/// this just erases \p value1.

0 commit comments

Comments
 (0)