Fixed "copy-paste" mistake from revision 255245.
authorAmjad Aboud <amjad.aboud@intel.com>
Sun, 31 Jul 2016 14:41:50 +0000 (14:41 +0000)
committerAmjad Aboud <amjad.aboud@intel.com>
Sun, 31 Jul 2016 14:41:50 +0000 (14:41 +0000)
llvm-svn: 277290

llvm/lib/IR/LLVMContextImpl.h

index 7820e2a..68ca58c 100644 (file)
@@ -928,7 +928,7 @@ template <> struct MDNodeKeyImpl<DIMacroFile> {
 
   bool isKeyOf(const DIMacroFile *RHS) const {
     return MIType == RHS->getMacinfoType() && Line == RHS->getLine() &&
-           File == RHS->getRawFile() && File == RHS->getRawElements();
+           File == RHS->getRawFile() && Elements == RHS->getRawElements();
   }
   unsigned getHashValue() const {
     return hash_combine(MIType, Line, File, Elements);