summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2008-10-26 00:19:56 +0000
committerBill Wendling <isanbard@gmail.com>2008-10-26 00:19:56 +0000
commit9a20afd7006635928a15470d2b942068f48f20a9 (patch)
tree86fd78dfa4bfde0e741b5d40e3c36776bf81302a
parent79d5b5acaec05cf2caba02ed023427da959e0b11 (diff)
downloadllvm-9a20afd7006635928a15470d2b942068f48f20a9.tar.gz
llvm-9a20afd7006635928a15470d2b942068f48f20a9.tar.bz2
llvm-9a20afd7006635928a15470d2b942068f48f20a9.tar.xz
Fix type-o in ExprMapKeyType::operator ==(). The "&&" was missing.
Patch by Frits van Bommel! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58175 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/VMCore/Constants.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/Constants.cpp b/lib/VMCore/Constants.cpp
index b0dd163968..ee1872a40e 100644
--- a/lib/VMCore/Constants.cpp
+++ b/lib/VMCore/Constants.cpp
@@ -1658,7 +1658,7 @@ struct ExprMapKeyType {
bool operator==(const ExprMapKeyType& that) const {
return this->opcode == that.opcode &&
this->predicate == that.predicate &&
- this->operands == that.operands;
+ this->operands == that.operands &&
this->indices == that.indices;
}
bool operator<(const ExprMapKeyType & that) const {