diff options
-rw-r--r-- | llvm/include/llvm/IR/ModuleSummaryIndex.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/include/llvm/IR/ModuleSummaryIndex.h b/llvm/include/llvm/IR/ModuleSummaryIndex.h index 8c858fc0b69..3ea22561987 100644 --- a/llvm/include/llvm/IR/ModuleSummaryIndex.h +++ b/llvm/include/llvm/IR/ModuleSummaryIndex.h @@ -179,14 +179,14 @@ struct ValueInfo { inline bool operator==(const ValueInfo &A, const ValueInfo &B) { assert(A.getRef() && B.getRef() && - "Need ValueInfo with non-null Ref to compare GUIDs"); + "Need ValueInfo with non-null Ref for comparison"); return A.getRef() == B.getRef(); } inline bool operator!=(const ValueInfo &A, const ValueInfo &B) { assert(A.getRef() && B.getRef() && - "Need ValueInfo with non-null Ref to compare GUIDs"); - return A.getGUID() != B.getGUID(); + "Need ValueInfo with non-null Ref for comparison"); + return A.getRef() != B.getRef(); } inline bool operator<(const ValueInfo &A, const ValueInfo &B) { |