Skip to content

Commit 2e018af

Browse files
committed
[move-function] Implement move function support for address only vars.
I have to make a few other changes to make this work for loadable vars, but I wanted to get this in. Behind a flag.
1 parent 190f69a commit 2e018af

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)