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 | 4d2e9d9a1c213db144785f386ce661914d17afb6 (patch) | |
tree | 2c4cd08e1519218a2f1d0bdcde649cd445a288a7 /include | |
parent | 16295fc20b68f9a9318cada4e4d96e964b1cdd7e (diff) | |
download | external_llvm-4d2e9d9a1c213db144785f386ce661914d17afb6.zip external_llvm-4d2e9d9a1c213db144785f386ce661914d17afb6.tar.gz external_llvm-4d2e9d9a1c213db144785f386ce661914d17afb6.tar.bz2 |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154807 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm-c/lto.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/llvm-c/lto.h b/include/llvm-c/lto.h index 5d9cecb..f43d365 100644 --- a/include/llvm-c/lto.h +++ b/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. |