aboutsummaryrefslogtreecommitdiff
path: root/src/codegen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/codegen.cpp')
-rw-r--r--src/codegen.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/codegen.cpp b/src/codegen.cpp
index 01d8adadd9..3f0860a702 100644
--- 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);
}