Skip to content

Commit e84e135

Browse files
chinrwjinghao-jia
authored andcommitted
Rex: remove the deprecated StringRef:equals
Signed-off-by: Ruowen Qin <[email protected]>
1 parent 075b6d9 commit e84e135

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)