mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 04:48:20 +00:00
add assertion about control flow to fix gcc warning
This commit is contained in:
parent
7e75e1075e
commit
0b08ae581e
@ -3849,6 +3849,8 @@ static LLVMValueRef ir_render_call(CodeGen *g, IrExecutable *executable, IrInstr
|
||||
// Use the result location provided to the @asyncCall builtin
|
||||
ret_ptr = result_loc;
|
||||
}
|
||||
} else {
|
||||
zig_unreachable();
|
||||
}
|
||||
|
||||
// even if prefix_arg_err_ret_stack is true, let the async function do its own
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user