| ... | @@ -8391,7 +8391,7 @@ static void do_code_gen(CodeGen *g) { | ... | @@ -8391,7 +8391,7 @@ static void do_code_gen(CodeGen *g) { |
| 8391 | assert(!g->errors.length); | 8391 | assert(!g->errors.length); |
| 8392 | | 8392 | |
| 8393 | if (buf_len(&g->global_asm) != 0) { | 8393 | if (buf_len(&g->global_asm) != 0) { |
| 8394 | LLVMSetModuleInlineAsm(g->module, buf_ptr(&g->global_asm)); | 8394 | LLVMSetModuleInlineAsm2(g->module, buf_ptr(&g->global_asm), buf_len(&g->global_asm)); |
| 8395 | } | 8395 | } |
| 8396 | | 8396 | |
| 8397 | while (g->type_resolve_stack.length != 0) { | 8397 | while (g->type_resolve_stack.length != 0) { |