From 9a20afd7006635928a15470d2b942068f48f20a9 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Sun, 26 Oct 2008 00:19:56 +0000 Subject: [PATCH] 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 --- lib/VMCore/Constants.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {