diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2012-04-16 10:58:38 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2012-04-16 10:58:38 +0000 |
commit | 0ecb8faa7c3e0ce68cb9d074143eb334dab7b357 (patch) | |
tree | 3e1becf4b889747b56ea90484e472e5d174c3205 /llvm/include/llvm-c | |
parent | 8c74c7b1c67497e334095acd69da0e16e757df36 (diff) | |
download | bcm5719-llvm-0ecb8faa7c3e0ce68cb9d074143eb334dab7b357.tar.gz bcm5719-llvm-0ecb8faa7c3e0ce68cb9d074143eb334dab7b357.zip |
Remove lto_codegen_set_whole_program_optimization. It is a work in progress,
so we don't want it to show up in the stable 3.1 interface.
While at it, add a comment about why LTOCodeGenerator manually creates the
internalize pass.
llvm-svn: 154807
Diffstat (limited to 'llvm/include/llvm-c')
-rw-r--r-- | llvm/include/llvm-c/lto.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/include/llvm-c/lto.h b/llvm/include/llvm-c/lto.h index 5d9cecbc515..f43d365e3db 100644 --- a/llvm/include/llvm-c/lto.h +++ b/llvm/include/llvm-c/lto.h @@ -251,12 +251,6 @@ lto_codegen_set_assembler_args(lto_code_gen_t cg, const char **args, int nargs); /** - * Enables the internalize pass during LTO optimizations. - */ -extern void -lto_codegen_set_whole_program_optimization(lto_code_gen_t cg); - -/** * Adds to a list of all global symbols that must exist in the final * generated code. If a function is not listed, it might be * inlined into every usage and optimized away. |