diff options
author | Bill Wendling <isanbard@gmail.com> | 2008-10-26 00:19:56 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2008-10-26 00:19:56 +0000 |
commit | 9a20afd7006635928a15470d2b942068f48f20a9 (patch) | |
tree | 86fd78dfa4bfde0e741b5d40e3c36776bf81302a /lib | |
parent | 79d5b5acaec05cf2caba02ed023427da959e0b11 (diff) | |
download | external_llvm-9a20afd7006635928a15470d2b942068f48f20a9.zip external_llvm-9a20afd7006635928a15470d2b942068f48f20a9.tar.gz external_llvm-9a20afd7006635928a15470d2b942068f48f20a9.tar.bz2 |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/VMCore/Constants.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/Constants.cpp b/lib/VMCore/Constants.cpp index b0dd163..ee1872a 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 { |