mirror of
https://github.com/ziglang/zig.git
synced 2026-02-14 05:20:34 +00:00
fix wrong calling convention on async resume
This commit is contained in:
parent
59bf9ca58c
commit
32d0ac1355
@ -4981,7 +4981,7 @@ static LLVMValueRef ir_render_coro_resume(CodeGen *g, IrExecutable *executable,
|
||||
assert(frame_type->id == ZigTypeIdCoroFrame);
|
||||
ZigFn *fn = frame_type->data.frame.fn;
|
||||
LLVMValueRef fn_val = fn_llvm_value(g, fn);
|
||||
LLVMBuildCall(g->builder, fn_val, &frame, 1, "");
|
||||
ZigLLVMBuildCall(g->builder, fn_val, &frame, 1, LLVMFastCallConv, ZigLLVM_FnInlineAuto, "");
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user