commit 03f992273493ef1e635a7a3bb3de9c5cd5182789 (tree) parent c810a0b381cfb930741283f95bc65b46b8a7f199 Author: Andrew Kelley <superjoe30@gmail.com> Date: Fri, 27 Nov 2015 21:49:04 -0700 remove unnecessary codegen llvm initialization Diffstat:
| M | src/codegen.cpp | | | 7 | ------- |
1 file changed, 0 insertions(+), 7 deletions(-)
diff --git a/src/codegen.cpp b/src/codegen.cpp @@ -988,13 +988,6 @@ gcc -fPIC -g -Werror -pedantic -shared -Wl,-soname,libsoundio.so.1 -o libsoundi */ void code_gen_link(CodeGen *g, const char *out_file) { - LLVMPassRegistryRef registry = LLVMGetGlobalPassRegistry(); - LLVMInitializeCore(registry); - LLVMInitializeCodeGen(registry); - LLVMZigInitializeLoopStrengthReducePass(registry); - LLVMZigInitializeLowerIntrinsicsPass(registry); - LLVMZigInitializeUnreachableBlockElimPass(registry); - if (!out_file) { out_file = buf_ptr(g->out_name); }