Skip to content

Commit 3360367

Browse files
committed
Rex: remove the deprecated StringRef:equals
Signed-off-by: Ruowen Qin <ruowenq2@illinois.edu>
1 parent 28e258d commit 3360367

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/X86/X86RexFrameSize.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ bool X86RexFrameSizePassMF::run() {
126126
auto FoundInVec = [&](const SmallVector<StringRef, 32> &Vec,
127127
const StringRef &Target) {
128128
return std::any_of(Vec.begin(), Vec.end(), [&Target](const StringRef &Str) {
129-
return Str.equals(Target);
129+
return Str == Target;
130130
});
131131
};
132132

0 commit comments

Comments
 (0)