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 /tools/lto/LTOCodeGenerator.h | |
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 'tools/lto/LTOCodeGenerator.h')
-rw-r--r-- | tools/lto/LTOCodeGenerator.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/lto/LTOCodeGenerator.h b/tools/lto/LTOCodeGenerator.h index bac3e6e..032dc37 100644 --- a/tools/lto/LTOCodeGenerator.h +++ b/tools/lto/LTOCodeGenerator.h @@ -54,8 +54,6 @@ struct LTOCodeGenerator { const void *compile(size_t *length, std::string &errMsg); void setCodeGenDebugOptions(const char *opts); - void enableInternalizePass() { _runInternalizePass = true; } - private: bool generateObjectFile(llvm::raw_ostream &out, std::string &errMsg); void applyScopeRestrictions(); |