mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
add a fixme
llvm-svn: 12388
This commit is contained in:
parent
36e8168af5
commit
da20cdaaf2
@ -144,6 +144,11 @@ void llvm::DeleteFunctionBody(Function *F) {
|
|||||||
/// SplitFunctionsOutOfModule - Given a module and a list of functions in the
|
/// SplitFunctionsOutOfModule - Given a module and a list of functions in the
|
||||||
/// module, split the functions OUT of the specified module, and place them in
|
/// module, split the functions OUT of the specified module, and place them in
|
||||||
/// the new module.
|
/// 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,
|
Module *llvm::SplitFunctionsOutOfModule(Module *M,
|
||||||
const std::vector<Function*> &F) {
|
const std::vector<Function*> &F) {
|
||||||
// Make sure functions & globals are all external so that linkage
|
// Make sure functions & globals are all external so that linkage
|
||||||
|
Loading…
x
Reference in New Issue
Block a user