Fix type-o in ExprMapKeyType::operator ==(). The "&&" was missing.
authorBill Wendling <isanbard@gmail.com>
Sun, 26 Oct 2008 00:19:56 +0000 (00:19 +0000)
committerBill Wendling <isanbard@gmail.com>
Sun, 26 Oct 2008 00:19:56 +0000 (00:19 +0000)
Patch by Frits van Bommel!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58175 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/Constants.cpp

index b0dd16396832fa7f2ca2b73a69684385e4c5235e..ee1872a40e5a5914394478c34e87d3227cd8ca36 100644 (file)
@@ -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 {