| ... | @@ -19033,8 +19033,9 @@ static TypeTableEntry *ir_analyze_instruction_frame_address(IrAnalyze *ira, IrIn | ... | @@ -19033,8 +19033,9 @@ static TypeTableEntry *ir_analyze_instruction_frame_address(IrAnalyze *ira, IrIn |
| 19033 | static TypeTableEntry *ir_analyze_instruction_handle(IrAnalyze *ira, IrInstructionHandle *instruction) { | 19033 | static TypeTableEntry *ir_analyze_instruction_handle(IrAnalyze *ira, IrInstructionHandle *instruction) { |
| 19034 | ir_build_handle_from(&ira->new_irb, &instruction->base); | 19034 | ir_build_handle_from(&ira->new_irb, &instruction->base); |
| 19035 | | 19035 | |
| 19036 | TypeTableEntry *promise_type = get_promise_type(ira->codegen, nullptr); | 19036 | FnTableEntry *fn_entry = exec_fn_entry(ira->new_irb.exec); |
| 19037 | return promise_type; | 19037 | assert(fn_entry != nullptr); |
| | 19038 | return get_promise_type(ira->codegen, fn_entry->type_entry->data.fn.fn_type_id.return_type); |
| 19038 | } | 19039 | } |
| 19039 | | 19040 | |
| 19040 | static TypeTableEntry *ir_analyze_instruction_align_of(IrAnalyze *ira, IrInstructionAlignOf *instruction) { | 19041 | static TypeTableEntry *ir_analyze_instruction_align_of(IrAnalyze *ira, IrInstructionAlignOf *instruction) { |