authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-08-15 18:38:20-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-08-15 18:38:20-04:00
log0b08ae581edb5811d14d86e7c75c23aca59a3a34
tree9b69e6c7459965b81fd943e098fc5ed327c07487
parent7e75e1075e14a124706bf5f22244ca6b6e814fdb
signaturelock-open Commit is signed but in an unrecognized format.

add assertion about control flow to fix gcc warning


1 files changed, 2 insertions(+), 0 deletions(-)

src/codegen.cpp+2
...@@ -3849,6 +3849,8 @@ static LLVMValueRef ir_render_call(CodeGen *g, IrExecutable *executable, IrInstr...@@ -3849,6 +3849,8 @@ static LLVMValueRef ir_render_call(CodeGen *g, IrExecutable *executable, IrInstr
3849 // Use the result location provided to the @asyncCall builtin3849 // Use the result location provided to the @asyncCall builtin
3850 ret_ptr = result_loc;3850 ret_ptr = result_loc;
3851 }3851 }
3852 } else {
3853 zig_unreachable();
3852 }3854 }
38533855
3854 // even if prefix_arg_err_ret_stack is true, let the async function do its own3856 // even if prefix_arg_err_ret_stack is true, let the async function do its own