summaryrefslogtreecommitdiff
path: root/tools/lto/lto.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2011-02-24 21:04:06 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2011-02-24 21:04:06 +0000
commite9efea1194691580c74520aad48887d95fd0ce1b (patch)
tree3b8040608bb9494594bf013a9d228a05b5e78683 /tools/lto/lto.cpp
parentf410608271b6318bfc9e26c0d199f185d5a89ccb (diff)
downloadllvm-e9efea1194691580c74520aad48887d95fd0ce1b.tar.gz
llvm-e9efea1194691580c74520aad48887d95fd0ce1b.tar.bz2
llvm-e9efea1194691580c74520aad48887d95fd0ce1b.tar.xz
Switch LTO to use MC. This takes the linking of libxul.so from about 7m to
6m30. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126426 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/lto/lto.cpp')
-rw-r--r--tools/lto/lto.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/lto/lto.cpp b/tools/lto/lto.cpp
index 7d4871d925..f48570c149 100644
--- a/tools/lto/lto.cpp
+++ b/tools/lto/lto.cpp
@@ -231,7 +231,7 @@ void lto_codegen_set_cpu(lto_code_gen_t cg, const char* cpu)
//
void lto_codegen_set_assembler_path(lto_code_gen_t cg, const char* path)
{
- cg->setAssemblerPath(path);
+ // In here only for backwards compatibility. We use MC now.
}
@@ -241,7 +241,7 @@ void lto_codegen_set_assembler_path(lto_code_gen_t cg, const char* path)
void lto_codegen_set_assembler_args(lto_code_gen_t cg, const char** args,
int nargs)
{
- cg->setAssemblerArgs(args, nargs);
+ // In here only for backwards compatibility. We use MC now.
}
//