[llvm] r277290 - Fixed "copy-paste" mistake from revision 255245.
Amjad Aboud via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 31 07:41:51 PDT 2016
Author: aaboud
Date: Sun Jul 31 09:41:50 2016
New Revision: 277290
URL: http://llvm.org/viewvc/llvm-project?rev=277290&view=rev
Log:
Fixed "copy-paste" mistake from revision 255245.
Modified:
llvm/trunk/lib/IR/LLVMContextImpl.h
Modified: llvm/trunk/lib/IR/LLVMContextImpl.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/LLVMContextImpl.h?rev=277290&r1=277289&r2=277290&view=diff
==============================================================================
--- llvm/trunk/lib/IR/LLVMContextImpl.h (original)
+++ llvm/trunk/lib/IR/LLVMContextImpl.h Sun Jul 31 09:41:50 2016
@@ -928,7 +928,7 @@ template <> struct MDNodeKeyImpl<DIMacro
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);
More information about the llvm-commits
mailing list