[PGO] Simplify computehash interface (NFC)
[oota-llvm.git] / lib / ProfileData / InstrProf.cpp
index 00c9057c8b45bf9437bbb0cc653202a78db7482e..10ba68c41d158b6f5ec090284ad6cd1ea226d316 100644 (file)
@@ -201,8 +201,7 @@ void getValueForSiteInstrProf(const void *R, InstrProfValueData *Dst,
 uint64_t stringToHash(uint32_t ValueKind, uint64_t Value) {
   switch (ValueKind) {
   case IPVK_IndirectCallTarget:
-    return IndexedInstrProf::ComputeHash(IndexedInstrProf::HashType,
-                                         (const char *)Value);
+    return IndexedInstrProf::ComputeHash((const char *)Value);
     break;
   default:
     llvm_unreachable("value kind not handled !");