Use CachedHashStringRef instead of CachedHash<StringRef>.
authorJustin Lebar <jlebar@google.com>
Tue, 18 Oct 2016 17:50:36 +0000 (17:50 +0000)
committerJustin Lebar <jlebar@google.com>
Tue, 18 Oct 2016 17:50:36 +0000 (17:50 +0000)
commit3c11e9383137458f232e72e9c8b83810c419d72b
treef58b68f0b3b3fcf60abe9f5bf2098808a9d75d43
parent507dd40a4abadbfdaa4f49a4823ddae6c7dfec4f
Use CachedHashStringRef instead of CachedHash<StringRef>.

Summary:
This uses one less word on 64-bit platforms, so should be a strict
improvement.  This change also lets us get rid of llvm::CachedHash.

Reviewers: rafael, timshen

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D25646

llvm-svn: 284502
lld/ELF/SymbolTable.cpp
lld/ELF/SymbolTable.h