[llvm] r268312 - Remove redundant return, NFC

Vedant Kumar via llvm-commits llvm-commits at lists.llvm.org
Mon May 2 14:33:36 PDT 2016


Author: vedantk
Date: Mon May  2 16:33:36 2016
New Revision: 268312

URL: http://llvm.org/viewvc/llvm-project?rev=268312&view=rev
Log:
Remove redundant return, NFC

Modified:
    llvm/trunk/lib/ProfileData/InstrProf.cpp

Modified: llvm/trunk/lib/ProfileData/InstrProf.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ProfileData/InstrProf.cpp?rev=268312&r1=268311&r2=268312&view=diff
==============================================================================
--- llvm/trunk/lib/ProfileData/InstrProf.cpp (original)
+++ llvm/trunk/lib/ProfileData/InstrProf.cpp Mon May  2 16:33:36 2016
@@ -457,7 +457,6 @@ uint32_t getNumValueDataForSiteInstrProf
 void getValueForSiteInstrProf(const void *R, InstrProfValueData *Dst,
                               uint32_t K, uint32_t S) {
   reinterpret_cast<const InstrProfRecord *>(R)->getValueForSite(Dst, K, S);
-  return;
 }
 
 ValueProfData *allocValueProfDataInstrProf(size_t TotalSizeInBytes) {




More information about the llvm-commits mailing list