From c7a151464fb421a92d59d6b46b80e06fbf6a950c Mon Sep 17 00:00:00 2001 From: Piotr Padlewski Date: Fri, 29 Jul 2016 00:30:07 +0000 Subject: [PATCH] Fixed comment llvm-svn: 277091 --- .../Transforms/Utils/ImportedFunctionsInliningStatistics.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/llvm/include/llvm/Transforms/Utils/ImportedFunctionsInliningStatistics.h b/llvm/include/llvm/Transforms/Utils/ImportedFunctionsInliningStatistics.h index 39dddc70aa92..13f6a2a7f227 100644 --- a/llvm/include/llvm/Transforms/Utils/ImportedFunctionsInliningStatistics.h +++ b/llvm/include/llvm/Transforms/Utils/ImportedFunctionsInliningStatistics.h @@ -92,15 +92,12 @@ private: SortedNodesTy getSortedNodes(); private: - /// FIXME: Change map keys to std::string/StringRef to avoid using pointers - /// to dead functions. /// This map manage life of all InlineGraphNodes. Unique pointer to /// InlineGraphNode used since the node pointers are also saved in the /// InlinedCallees vector. If it would store InlineGraphNode instead then the /// address of the node would not be invariant. NodesMapTy NodesMap; /// Non external functions that have some other function inlined inside. - /// Should not dereference pointers because Functions might be deleted. std::vector NonImportedCallers; int AllFunctions = 0; int ImportedFunctions = 0;