diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2016-06-22 12:44:16 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2016-06-22 12:44:16 +0000 |
commit | 2b7fef681fb65798e756c463dd3198e5af87f300 (patch) | |
tree | cc566e6794e45712f4bc3efbc35c71c93472b218 /llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp | |
parent | 716859aa644f0df05a84b77f8bd11a057083efe1 (diff) | |
download | llvm-2b7fef681fb65798e756c463dd3198e5af87f300.zip llvm-2b7fef681fb65798e756c463dd3198e5af87f300.tar.gz llvm-2b7fef681fb65798e756c463dd3198e5af87f300.tar.bz2 |
Delete more dead code.
Found by gcc 6.
llvm-svn: 273402
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp')
-rw-r--r-- | llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp b/llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp index 6b2df2a..df48897 100644 --- a/llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp +++ b/llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp @@ -99,8 +99,6 @@ private: Constant *getEmitFunctionFunc(); Constant *getEmitArcsFunc(); Constant *getSummaryInfoFunc(); - Constant *getDeleteWriteoutFunctionListFunc(); - Constant *getDeleteFlushFunctionListFunc(); Constant *getEndFileFunc(); // Create or retrieve an i32 state value that is used to represent the @@ -817,16 +815,6 @@ Constant *GCOVProfiler::getSummaryInfoFunc() { return M->getOrInsertFunction("llvm_gcda_summary_info", FTy); } -Constant *GCOVProfiler::getDeleteWriteoutFunctionListFunc() { - FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), false); - return M->getOrInsertFunction("llvm_delete_writeout_function_list", FTy); -} - -Constant *GCOVProfiler::getDeleteFlushFunctionListFunc() { - FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), false); - return M->getOrInsertFunction("llvm_delete_flush_function_list", FTy); -} - Constant *GCOVProfiler::getEndFileFunc() { FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), false); return M->getOrInsertFunction("llvm_gcda_end_file", FTy); |