X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=lib%2FProfileData%2FInstrProf.cpp;h=10ba68c41d158b6f5ec090284ad6cd1ea226d316;hp=00c9057c8b45bf9437bbb0cc653202a78db7482e;hb=5c542537c1330e18cce3744b519849e2c0c11fff;hpb=9dcc66e06e5d5a2830a93aad80d5fa1e8343927a diff --git a/lib/ProfileData/InstrProf.cpp b/lib/ProfileData/InstrProf.cpp index 00c9057c8b4..10ba68c41d1 100644 --- a/lib/ProfileData/InstrProf.cpp +++ b/lib/ProfileData/InstrProf.cpp @@ -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 !");