Revert "Reapply "LTO: add API to set strategy for -internalize""
[oota-llvm.git] / tools / lto / lto.cpp
index 1b1e4626effb9ed0da84370e5122e23a4736f2f2..cc8318a8ba2e0735043c11f521194316e568b0a7 100644 (file)
@@ -264,13 +264,6 @@ void lto_codegen_set_assembler_args(lto_code_gen_t cg, const char **args,
   // In here only for backwards compatibility. We use MC now.
 }
 
-/// lto_codegen_set_internalize_strategy - Sets the strategy to use during
-/// internalize.
-void lto_codegen_set_internalize_strategy(lto_code_gen_t cg,
-                                          lto_internalize_strategy strategy) {
-  cg->setInternalizeStrategy(strategy);
-}
-
 /// lto_codegen_add_must_preserve_symbol - Adds to a list of all global symbols
 /// that must exist in the final generated code. If a function is not listed
 /// there, it might be inlined into every usage and optimized away.