diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2024-07-27 23:34:35 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2024-10-23 18:26:01 +0000 |
commit | 0fca6ea1d4eea4c934cfff25ac9ee8ad6fe95583 (patch) | |
tree | 6cf5ab1f05330c6773b1f3f64799d56a9c7a1faa /contrib/llvm-project/llvm/lib/CodeGen/BasicBlockSectionsProfileReader.cpp | |
parent | 6b9f7133aba44189d9625c352bc2c2a59baf18ef (diff) | |
parent | ac9a064cb179f3425b310fa2847f8764ac970a4d (diff) |
Diffstat (limited to 'contrib/llvm-project/llvm/lib/CodeGen/BasicBlockSectionsProfileReader.cpp')
-rw-r--r-- | contrib/llvm-project/llvm/lib/CodeGen/BasicBlockSectionsProfileReader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/llvm-project/llvm/lib/CodeGen/BasicBlockSectionsProfileReader.cpp b/contrib/llvm-project/llvm/lib/CodeGen/BasicBlockSectionsProfileReader.cpp index 6eef5d2c50a2..fa5464026516 100644 --- a/contrib/llvm-project/llvm/lib/CodeGen/BasicBlockSectionsProfileReader.cpp +++ b/contrib/llvm-project/llvm/lib/CodeGen/BasicBlockSectionsProfileReader.cpp @@ -170,7 +170,7 @@ Error BasicBlockSectionsProfileReader::ReadV1Profile() { return false; // Return a match if debug-info-filename is not specified. Otherwise, // check for equality. - return DIFilename.empty() || It->second.equals(DIFilename); + return DIFilename.empty() || It->second == DIFilename; }); if (!FunctionFound) { // Skip the following profile by setting the profile iterator (FI) to @@ -317,7 +317,7 @@ Error BasicBlockSectionsProfileReader::ReadV0Profile() { return false; // Return a match if debug-info-filename is not specified. Otherwise, // check for equality. - return DIFilename.empty() || It->second.equals(DIFilename); + return DIFilename.empty() || It->second == DIFilename; }); if (!FunctionFound) { // Skip the following profile by setting the profile iterator (FI) to |