| author | |
| committer | |
| log | 071af5c1d69c588f6656e4a4accb36141c1a1793 |
| tree | ce240313c940d4e4a23b3756f49b659a365c05af |
| parent | eca2aa66feae60e1e11e482b31443692aa3002ef |
| signature |
2 files changed, 1 insertions(+), 1 deletions(-)
src/codegen.cpp-1| ... | @@ -1724,7 +1724,6 @@ static LLVMValueRef ir_llvm_value(CodeGen *g, IrInstruction *instruction) { | ... | @@ -1724,7 +1724,6 @@ static LLVMValueRef ir_llvm_value(CodeGen *g, IrInstruction *instruction) { |
| 1724 | return instruction->llvm_value; | 1724 | return instruction->llvm_value; |
| 1725 | } | 1725 | } |
| 1726 | 1726 | ||
| 1727 | ATTRIBUTE_NORETURN | ||
| 1728 | void codegen_report_errors_and_exit(CodeGen *g) { | 1727 | void codegen_report_errors_and_exit(CodeGen *g) { |
| 1729 | assert(g->errors.length != 0); | 1728 | assert(g->errors.length != 0); |
| 1730 | for (size_t i = 0; i < g->errors.length; i += 1) { | 1729 | for (size_t i = 0; i < g->errors.length; i += 1) { |
src/codegen.hpp+1| ... | @@ -64,6 +64,7 @@ void codegen_release_caches(CodeGen *codegen); | ... | @@ -64,6 +64,7 @@ void codegen_release_caches(CodeGen *codegen); |
| 64 | bool codegen_fn_has_err_ret_tracing_arg(CodeGen *g, ZigType *return_type); | 64 | bool codegen_fn_has_err_ret_tracing_arg(CodeGen *g, ZigType *return_type); |
| 65 | bool codegen_fn_has_err_ret_tracing_stack(CodeGen *g, ZigFn *fn, bool is_async); | 65 | bool codegen_fn_has_err_ret_tracing_stack(CodeGen *g, ZigFn *fn, bool is_async); |
| 66 | 66 | ||
| 67 | ATTRIBUTE_NORETURN | ||
| 67 | void codegen_report_errors_and_exit(CodeGen *g); | 68 | void codegen_report_errors_and_exit(CodeGen *g); |
| 68 | 69 | ||
| 69 | #endif | 70 | #endif |