Remove use of LLVMCreateBuilder #2666

This commit is contained in:
Christoffer Lerno
2026-01-17 15:39:22 +01:00
parent d00a93f195
commit f2c557c3b7

View File

@@ -177,7 +177,7 @@ void gencontext_begin_module(GenContext *c)
}
c->debug.emit_expr_loc = !is_win;
}
c->global_builder = LLVMCreateBuilder();
c->global_builder = LLVMCreateBuilderInContext(c->context);
c->builder = c->global_builder;
}