mirror of
https://github.com/ziglang/zig.git
synced 2025-12-25 15:43:06 +00:00
stage1: LLVMSetModuleInlineAsm is deprecated
This commit is contained in:
parent
0a6ba6f666
commit
1d3ceac770
@ -8391,7 +8391,7 @@ static void do_code_gen(CodeGen *g) {
|
||||
assert(!g->errors.length);
|
||||
|
||||
if (buf_len(&g->global_asm) != 0) {
|
||||
LLVMSetModuleInlineAsm(g->module, buf_ptr(&g->global_asm));
|
||||
LLVMSetModuleInlineAsm2(g->module, buf_ptr(&g->global_asm), buf_len(&g->global_asm));
|
||||
}
|
||||
|
||||
while (g->type_resolve_stack.length != 0) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user