mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-21 11:15:33 +00:00
Updating the comments above SplitFunctionsOutOfModule in ExtractFunction.cpp to reflect the changes made to that function. Specifically I am removing the FIXME comment because the issue has been addressed.
llvm-svn: 29385
This commit is contained in:
parent
51e1b75fba
commit
35ac912c22
@ -312,11 +312,6 @@ static void RewriteUsesInNewModule(Constant *OrigVal, Constant *NewVal,
|
||||
/// SplitFunctionsOutOfModule - Given a module and a list of functions in the
|
||||
/// module, split the functions OUT of the specified module, and place them in
|
||||
/// the new module.
|
||||
///
|
||||
/// FIXME: this could be made DRAMATICALLY more efficient for large programs if
|
||||
/// we just MOVED functions from one module to the other, instead of cloning the
|
||||
/// whole module, then proceeding to delete an entire module's worth of stuff.
|
||||
///
|
||||
Module *llvm::SplitFunctionsOutOfModule(Module *M,
|
||||
const std::vector<Function*> &F) {
|
||||
// Make sure functions & globals are all external so that linkage
|
||||
|
Loading…
x
Reference in New Issue
Block a user