@@ -485,7 +485,7 @@ class AccessedStorage {
485485 // / This compares only the AccessedStorage base class bits, ignoring the
486486 // / subclass bits. It is used for hash lookup equality, so it should not
487487 // / perform any additional lookups or dereference memory outside itself.
488- bool hasIdenticalBase (const AccessedStorage &other) const {
488+ bool hasIdenticalStorage (const AccessedStorage &other) const {
489489 if (getKind () != other.getKind ())
490490 return false ;
491491
@@ -609,7 +609,7 @@ class AccessedStorage {
609609 template <bool (AccessedStorage::*IsUniqueFn)() const >
610610 bool isDistinctFrom (const AccessedStorage &other) const {
611611 if ((this ->*IsUniqueFn)()) {
612- if ((other.*IsUniqueFn)() && !hasIdenticalBase (other))
612+ if ((other.*IsUniqueFn)() && !hasIdenticalStorage (other))
613613 return true ;
614614
615615 if (other.isObjectAccess ())
@@ -706,7 +706,7 @@ template <> struct DenseMapInfo<swift::AccessedStorage> {
706706 }
707707
708708 static bool isEqual (swift::AccessedStorage LHS, swift::AccessedStorage RHS) {
709- return LHS.hasIdenticalBase (RHS);
709+ return LHS.hasIdenticalStorage (RHS);
710710 }
711711};
712712
@@ -944,8 +944,9 @@ class AccessPath {
944944
945945 bool operator ==(AccessPath other) const {
946946 return
947- storage.hasIdenticalBase (other.storage ) && pathNode == other.pathNode &&
948- offset == other.offset ;
947+ storage.hasIdenticalStorage (other.storage )
948+ && pathNode == other.pathNode
949+ && offset == other.offset ;
949950 }
950951 bool operator !=(AccessPath other) const { return !(*this == other); }
951952
@@ -1220,8 +1221,8 @@ void checkSwitchEnumBlockArg(SILPhiArgument *arg);
12201221// / This is not a member of AccessedStorage because it only makes sense to use
12211222// / in SILGen before access markers are emitted, or when verifying access
12221223// / markers.
1223- bool isPossibleFormalAccessBase (const AccessedStorage &storage,
1224- SILFunction *F);
1224+ bool isPossibleFormalAccessStorage (const AccessedStorage &storage,
1225+ SILFunction *F);
12251226
12261227// / Perform a RAUW operation on begin_access with it's own source operand.
12271228// / Then erase the begin_access and all associated end_access instructions.
0 commit comments