Fixed comment

llvm-svn: 277091
This commit is contained in:
Piotr Padlewski 2016-07-29 00:30:07 +00:00
parent 174e0a16f9
commit c7a151464f
1 changed files with 0 additions and 3 deletions

View File

@ -92,15 +92,12 @@ private:
SortedNodesTy getSortedNodes(); SortedNodesTy getSortedNodes();
private: 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 /// This map manage life of all InlineGraphNodes. Unique pointer to
/// InlineGraphNode used since the node pointers are also saved in the /// InlineGraphNode used since the node pointers are also saved in the
/// InlinedCallees vector. If it would store InlineGraphNode instead then the /// InlinedCallees vector. If it would store InlineGraphNode instead then the
/// address of the node would not be invariant. /// address of the node would not be invariant.
NodesMapTy NodesMap; NodesMapTy NodesMap;
/// Non external functions that have some other function inlined inside. /// Non external functions that have some other function inlined inside.
/// Should not dereference pointers because Functions might be deleted.
std::vector<std::string> NonImportedCallers; std::vector<std::string> NonImportedCallers;
int AllFunctions = 0; int AllFunctions = 0;
int ImportedFunctions = 0; int ImportedFunctions = 0;