| author | |
| committer | |
| log | bf8870a60bb35062b2b25867a0f9a95f6f5397ce |
| tree | f41b3b32de3644dd3f15eaa94be23e330521fea3 |
| parent | 5502160bd23f14b91ac2bd3726a93bdd0b40cc53 |
| signature |
found this trying to build oxid1 files changed, 4 insertions(+), 0 deletions(-)
src/codegen.cpp+4| ... | ... | @@ -1699,6 +1699,10 @@ static void gen_var_debug_decl(CodeGen *g, ZigVar *var) { |
| 1699 | 1699 | } |
| 1700 | 1700 | |
| 1701 | 1701 | static LLVMValueRef ir_llvm_value(CodeGen *g, IrInstruction *instruction) { |
| 1702 | Error err; | |
| 1703 | if ((err = type_resolve(g, instruction->value.type, ResolveStatusZeroBitsKnown))) { | |
| 1704 | codegen_report_errors_and_exit(g); | |
| 1705 | } | |
| 1702 | 1706 | if (!type_has_bits(instruction->value.type)) |
| 1703 | 1707 | return nullptr; |
| 1704 | 1708 | if (!instruction->llvm_value) { |