Cleanup of naming change to optional. Fix of builtin optional handling.

This commit is contained in:
Christoffer Lerno
2022-12-27 23:55:23 +01:00
parent fe54b84aed
commit f622b3bd4c
58 changed files with 432 additions and 416 deletions

View File

@@ -271,7 +271,7 @@ void tilde_emit_call_expr(TbContext *c, TBEValue *result_value, Expr *expr)
ABIArgInfo *ret_info = prototype->ret_abi_info;
Type *call_return_type = prototype->abi_ret_type;
// 5. In the case of a failable, the error is replacing the regular return abi.
// 5. In the case of an optional, the error is replacing the regular return abi.
TB_Reg error_var = 0;
*result_value = (TBEValue){ .kind = TBE_VALUE, .reg = 0 };