summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2008-10-26 00:19:56 +0000
committerBill Wendling <isanbard@gmail.com>2008-10-26 00:19:56 +0000
commit97f7de887548d1867d2df46ccd9ff87139f45512 (patch)
tree736906fe4c18e32938b88e269b75dc156607169c /llvm/lib/VMCore
parentf48367b8e9dbbec4a9a2be6cd529d759aced86bd (diff)
downloadbcm5719-llvm-97f7de887548d1867d2df46ccd9ff87139f45512.tar.gz
bcm5719-llvm-97f7de887548d1867d2df46ccd9ff87139f45512.zip
Fix type-o in ExprMapKeyType::operator ==(). The "&&" was missing.
Patch by Frits van Bommel! llvm-svn: 58175
Diffstat (limited to 'llvm/lib/VMCore')
-rw-r--r--llvm/lib/VMCore/Constants.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/Constants.cpp b/llvm/lib/VMCore/Constants.cpp
index b0dd1639683..ee1872a40e5 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 {
OpenPOWER on IntegriCloud