Remove #relative slices; Replace with #relative multi-pointers

This commit is contained in:
gingerBill
2023-08-05 16:05:39 +01:00
parent afa8eb2d6f
commit c91898a888
29 changed files with 367 additions and 452 deletions
-4
View File
@@ -44,8 +44,6 @@ gb_internal cgValue cg_builtin_len(cgProcedure *p, cgValue value) {
case Type_Struct:
GB_ASSERT(is_type_soa_struct(t));
break;
case Type_RelativeSlice:
break;
}
GB_PANIC("TODO(bill): cg_builtin_len %s", type_to_string(t));
@@ -106,8 +104,6 @@ gb_internal cgValue cg_builtin_cap(cgProcedure *p, cgValue value) {
case Type_Struct:
GB_ASSERT(is_type_soa_struct(t));
break;
case Type_RelativeSlice:
break;
}
GB_PANIC("TODO(bill): cg_builtin_cap %s", type_to_string(t));