summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ProfileData/InstrProfWriter.cpp
diff options
context:
space:
mode:
authorXinliang David Li <davidxl@google.com>2015-12-18 22:22:12 +0000
committerXinliang David Li <davidxl@google.com>2015-12-18 22:22:12 +0000
commit49ee76d082e8ce581e408d49ba9d3f8b1d18b7bd (patch)
treec5b3d5de885ba8bc4d0ee052098bc278e59a5e40 /llvm/lib/ProfileData/InstrProfWriter.cpp
parent448592eeac7d514243f09f38368dfa794e27aefa (diff)
downloadbcm5719-llvm-49ee76d082e8ce581e408d49ba9d3f8b1d18b7bd.tar.gz
bcm5719-llvm-49ee76d082e8ce581e408d49ba9d3f8b1d18b7bd.zip
[PGO] Simplify computehash interface (NFC)
llvm-svn: 256047
Diffstat (limited to 'llvm/lib/ProfileData/InstrProfWriter.cpp')
-rw-r--r--llvm/lib/ProfileData/InstrProfWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ProfileData/InstrProfWriter.cpp b/llvm/lib/ProfileData/InstrProfWriter.cpp
index 478cf80db7a..2f4ef082906 100644
--- a/llvm/lib/ProfileData/InstrProfWriter.cpp
+++ b/llvm/lib/ProfileData/InstrProfWriter.cpp
@@ -35,7 +35,7 @@ public:
typedef uint64_t offset_type;
static hash_value_type ComputeHash(key_type_ref K) {
- return IndexedInstrProf::ComputeHash(IndexedInstrProf::HashType, K);
+ return IndexedInstrProf::ComputeHash(K);
}
static std::pair<offset_type, offset_type>
OpenPOWER on IntegriCloud