[llvm-commits] [llvm] r58175 - /llvm/trunk/lib/VMCore/Constants.cpp

Bill Wendling isanbard at gmail.com
Sat Oct 25 17:19:56 PDT 2008


Author: void
Date: Sat Oct 25 19:19:56 2008
New Revision: 58175

URL: http://llvm.org/viewvc/llvm-project?rev=58175&view=rev
Log:
Fix type-o in ExprMapKeyType::operator ==(). The "&&" was missing.
Patch by Frits van Bommel!

Modified:
    llvm/trunk/lib/VMCore/Constants.cpp

Modified: llvm/trunk/lib/VMCore/Constants.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/Constants.cpp?rev=58175&r1=58174&r2=58175&view=diff

==============================================================================
--- llvm/trunk/lib/VMCore/Constants.cpp (original)
+++ llvm/trunk/lib/VMCore/Constants.cpp Sat Oct 25 19:19:56 2008
@@ -1658,7 +1658,7 @@
   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 {





More information about the llvm-commits mailing list