| ... | @@ -3466,6 +3466,10 @@ static TypeTableEntry *analyze_fn_call_raw(CodeGen *g, ImportTableEntry *import, | ... | @@ -3466,6 +3466,10 @@ static TypeTableEntry *analyze_fn_call_raw(CodeGen *g, ImportTableEntry *import, |
| 3466 | | 3466 | |
| 3467 | TypeTableEntry *return_type = unwrapped_node_type(fn_proto->return_type); | 3467 | TypeTableEntry *return_type = unwrapped_node_type(fn_proto->return_type); |
| 3468 | | 3468 | |
| | 3469 | if (return_type->id == TypeTableEntryIdInvalid) { |
| | 3470 | return return_type; |
| | 3471 | } |
| | 3472 | |
| 3469 | if (handle_is_ptr(return_type)) { | 3473 | if (handle_is_ptr(return_type)) { |
| 3470 | context->cast_alloca_list.append(node); | 3474 | context->cast_alloca_list.append(node); |
| 3471 | } | 3475 | } |