summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR
diff options
context:
space:
mode:
authorAmjad Aboud <amjad.aboud@intel.com>2016-07-31 14:41:50 +0000
committerAmjad Aboud <amjad.aboud@intel.com>2016-07-31 14:41:50 +0000
commit580498de176ceef4b02b7d636921b44227679e4f (patch)
tree734ad286269ed72c9e8cdf9e66ac65a75914b6fd /llvm/lib/IR
parent6e9b16054f4e2b75fc22e612bb0eed0a24d7db8f (diff)
downloadbcm5719-llvm-580498de176ceef4b02b7d636921b44227679e4f.tar.gz
bcm5719-llvm-580498de176ceef4b02b7d636921b44227679e4f.zip
Fixed "copy-paste" mistake from revision 255245.
llvm-svn: 277290
Diffstat (limited to 'llvm/lib/IR')
-rw-r--r--llvm/lib/IR/LLVMContextImpl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/LLVMContextImpl.h b/llvm/lib/IR/LLVMContextImpl.h
index 7820e2ab958..68ca58c0fb3 100644
--- a/llvm/lib/IR/LLVMContextImpl.h
+++ b/llvm/lib/IR/LLVMContextImpl.h
@@ -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);
OpenPOWER on IntegriCloud