From 97f7de887548d1867d2df46ccd9ff87139f45512 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! llvm-svn: 58175 --- llvm/lib/VMCore/Constants.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/VMCore/Constants.cpp b/llvm/lib/VMCore/Constants.cpp index b0dd16396832..ee1872a40e5a 100644 --- a/llvm/lib/VMCore/Constants.cpp +++ b/llvm/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 {