mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 03:51:18 +00:00
Remove use of LLVMCreateBuilder #2666
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user