From: Bill Wendling Date: Sun, 26 Oct 2008 00:19:56 +0000 (+0000) Subject: Fix type-o in ExprMapKeyType::operator ==(). The "&&" was missing. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9a20afd7006635928a15470d2b942068f48f20a9;p=oota-llvm.git 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 --- diff --git a/lib/VMCore/Constants.cpp b/lib/VMCore/Constants.cpp index b0dd1639683..ee1872a40e5 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 {