diff options
| author | Bill Wendling <isanbard@gmail.com> | 2008-10-26 00:19:56 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2008-10-26 00:19:56 +0000 |
| commit | 97f7de887548d1867d2df46ccd9ff87139f45512 (patch) | |
| tree | 736906fe4c18e32938b88e269b75dc156607169c /llvm/lib/VMCore | |
| parent | f48367b8e9dbbec4a9a2be6cd529d759aced86bd (diff) | |
| download | bcm5719-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.cpp | 2 |
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 { |

